<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>BackgroundGeolocation | Cordova Background Geolocation</title>
	<meta name="description" content="">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="../assets/css/main.css">
	<link rel="stylesheet" href="../assets/css/monokai-sublime.css">
</head>
<body>
<header>
	<div class="tsd-page-toolbar">
		<div class="container">
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.js" data-base="..">
					<div class="field">
						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
						<input id="tsd-search-field" type="text" />
					</div>
					<ul class="results">
						<li class="state loading">Preparing search index...</li>
						<li class="state failure">The search index is not available</li>
					</ul>
					<a href="../globals.html" class="title">[API Docs] Cordova Background Geolocation</a>&nbsp;<span class="tsd-flag ts-flagOptional ts-flagVersion">v 2.14.2</span>
				</div>
				<div class="" id="tsd-widgets">
					<a class="github" href="https://github.com/transistorsoft/cordova-background-geolocation-lt">Github</a>
					<a class="logo" href="https://www.transistorsoft.com"><img src="../assets/images/logo-black-150.png" /></a>
				</div>
			</div>
		</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="../globals.html">Globals</a>
				</li>
				<li>
					<a href="../modules/_cordova_background_geolocation_lt_.html">&quot;cordova-background-geolocation-lt&quot;</a>
				</li>
				<li>
					<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html">BackgroundGeolocation</a>
				</li>
			</ul>
			<h1>Class BackgroundGeolocation</h1>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-9 col-content">
			<section class="tsd-panel tsd-comment">
				<div class="tsd-comment tsd-typography">
					<div class="lead">
						<p>Primary API of the SDK.</p>
					</div>
					<dl class="tsd-comment-tags">
						<dt class="tsd-comment-tag-break">break</dt>
						<dd><h2 id="-help">📚 Help</h2>
							<ul>
								<li>📘 <a href="https://github.com/transistorsoft/cordova-background-geolocation-lt/wiki/Philosophy-of-Operation">Philosophy of Operation</a></li>
								<li>📘 HTTP Guide: <a href="../interfaces/_cordova_background_geolocation_lt_.httpevent.html">HttpEvent</a>.</li>
								<li>📘 Geofencing Guide:  <a href="../interfaces/_cordova_background_geolocation_lt_.geofence.html">Geofence</a>.</li>
								<li>📘 <a href="https://github.com/transistorsoft/cordova-background-geolocation-lt/wiki/Android-Headless-Mode">Android Headless Mode</a>.</li>
								<li>📘 <a href="https://github.com/transistorsoft/cordova-background-geolocation-lt/wiki/Debugging">Debugging Guide</a>.</li>
							</ul>
							<h2 id="-events">⚡️ Events</h2>
							<p><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html">BackgroundGeolocation</a> is event-based.  Interacting with the SDK is largely through implementing listeners on the following events:</p>
							<table>
								<thead>
									<tr>
										<th>Method</th>
										<th>Description</th>
									</tr>
								</thead>
								<tbody><tr>
										<td><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#onlocation">onLocation</a></td>
										<td>Fired with each recorded <a href="../interfaces/_cordova_background_geolocation_lt_.location.html">Location</a></td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#onmotionchange">onMotionChange</a></td>
										<td>Fired when the plugin changes state between <em>moving</em> / <em>stationary</em></td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#onhttp">onHttp</a></td>
										<td>Fired with each HTTP response from your server.  (see <a href="../interfaces/_cordova_background_geolocation_lt_.config.html#url">url</a>).</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#onactivitychange">onActivityChange</a></td>
										<td>Fired with each change in device motion-activity.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#onproviderchange">onProviderChange</a></td>
										<td>Fired after changes to device location-services configuration.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#onheartbeat">onHeartbeat</a></td>
										<td>Periodic timed events.  See <a href="../interfaces/_cordova_background_geolocation_lt_.config.html#heartbeatinterval">heartbeatInterval</a>.  iOS requires <a href="../interfaces/_cordova_background_geolocation_lt_.config.html#preventsuspend">preventSuspend</a>.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#ongeofence">onGeofence</a></td>
										<td>Fired with each <a href="../interfaces/_cordova_background_geolocation_lt_.geofence.html">Geofence</a> transition event (<code>ENTER, EXIT, DWELL</code>).</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#ongeofenceschange">onGeofencesChange</a></td>
										<td>Fired when the list of actively-monitored geofences changed.  See <a href="../interfaces/_cordova_background_geolocation_lt_.config.html#geofenceproximityradius">geofenceProximityRadius</a>.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#onschedule">onSchedule</a></td>
										<td>Fired for <a href="../interfaces/_cordova_background_geolocation_lt_.config.html#schedule">schedule</a> events.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#onconnectivitychange">onConnectivityChange</a></td>
										<td>Fired when network-connectivity changes (connected / disconnected).</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#onpowersavechange">onPowerSaveChange</a></td>
										<td>Fired when state of operating-system&#39;s &quot;power-saving&quot; feature is enabled / disabld.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#onenabledchange">onEnabledChange</a></td>
										<td>Fired when the plugin is enabled / disabled via its <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#start">start</a> / <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#stop">stop</a> methods.</td>
									</tr>
							</tbody></table>
							<h2 id="-a-href-interfaces-_cordova_background_geolocation_lt_-config-html-config-a-api">🔧 <a href="../interfaces/_cordova_background_geolocation_lt_.config.html">Config</a> API</h2>
							<p><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html">BackgroundGeolocation</a> is highly configurable.  See the <a href="../interfaces/_cordova_background_geolocation_lt_.config.html">Config</a> API for more information.</p>
							<p>There are three main steps to using <code>BackgroundGeolocation</code></p>
							<ol>
								<li>Wire up event-listeners.</li>
								<li><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#ready">ready</a> the SDK.</li>
								<li><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#start">start</a> tracking.</li>
							</ol>
						</dd>
						<dt class="tsd-comment-tag-example">example</dt>
						<dd><pre><code class="language-typescript">
<span class="hljs-comment">////</span>
<span class="hljs-comment">// 1.  Wire up event-listeners</span>
<span class="hljs-comment">//</span>

<span class="hljs-comment">// This handler fires whenever bgGeo receives a location update.</span>
BackgroundGeolocation.onLocation(<span class="hljs-function"><span class="hljs-params">location</span> =&gt;</span> {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[location] '</span>, location);
}, <span class="hljs-function"><span class="hljs-params">error</span> =&gt;</span> {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[location] ERROR: '</span>, error);
});

<span class="hljs-comment">// This handler fires when movement states changes (stationary-&gt;moving; moving-&gt;stationary)</span>
BackgroundGeolocation.onMotionChange(<span class="hljs-function"><span class="hljs-params">location</span> =&gt;</span> {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[motionchange] '</span>, location);
});

<span class="hljs-comment">// This handler fires on HTTP responses</span>
BackgroundGeolocation.onHttp(<span class="hljs-function"><span class="hljs-params">response</span> =&gt;</span> {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[http] '</span>, response);
});

<span class="hljs-comment">// This event fires when a change in motion activity is detected</span>
BackgroundGeolocation.onActivityChange(<span class="hljs-function"><span class="hljs-params">activityEvent</span> =&gt;</span> {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[activitychange] '</span>, activityEvent);
});

<span class="hljs-comment">// This event fires when the user toggles location-services authorization</span>
BackgroundGeolocation.onProviderChange(<span class="hljs-function"><span class="hljs-params">providerEvent</span> =&gt;</span> {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[providerchange] '</span>, providerEvent);
});

<span class="hljs-comment">////</span>
<span class="hljs-comment">// 2.  Execute #ready method (required)</span>
<span class="hljs-comment">//</span>
BackgroundGeolocation.ready({
  <span class="hljs-comment">// Geolocation Config</span>
  desiredAccuracy: BackgroundGeolocation.DESIRED_ACCURACY_HIGH,
  distanceFilter: <span class="hljs-number">10</span>,
  <span class="hljs-comment">// Activity Recognition</span>
  stopTimeout: <span class="hljs-number">1</span>,
  <span class="hljs-comment">// Application config</span>
  debug: <span class="hljs-literal">true</span>,              <span class="hljs-comment">// &lt;-- enable this hear debug sounds.</span>
  logLevel: BackgroundGeolocation.LOG_LEVEL_VERBOSE,
  stopOnTerminate: <span class="hljs-literal">false</span>,   <span class="hljs-comment">// &lt;-- Allow the background-service to continue tracking when app terminated.</span>
  startOnBoot: <span class="hljs-literal">true</span>,        <span class="hljs-comment">// &lt;-- Auto start tracking when device is powered-up.</span>
  <span class="hljs-comment">// HTTP / SQLite config</span>
  url: <span class="hljs-string">'http://yourserver.com/locations'</span>,
  batchSync: <span class="hljs-literal">false</span>,       <span class="hljs-comment">// &lt;-- Set true to sync locations to server in a single HTTP request.</span>
  autoSync: <span class="hljs-literal">true</span>,         <span class="hljs-comment">// &lt;-- Set true to sync each location to server as it arrives.</span>
  headers: {              <span class="hljs-comment">// &lt;-- Optional HTTP headers</span>
    <span class="hljs-string">"X-FOO"</span>: <span class="hljs-string">"bar"</span>
  },
  params: {               <span class="hljs-comment">// &lt;-- Optional HTTP params</span>
    <span class="hljs-string">"auth_token"</span>: <span class="hljs-string">"maybe_your_server_authenticates_via_token_YES?"</span>
  }
}, <span class="hljs-function">(<span class="hljs-params">state</span>) =&gt;</span> {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">"- BackgroundGeolocation is configured and ready: "</span>, state.enabled);

  <span class="hljs-keyword">if</span> (!state.enabled) {
    <span class="hljs-comment">////</span>
    <span class="hljs-comment">// 3. Start tracking!</span>
    <span class="hljs-comment">//</span>
    BackgroundGeolocation.start(<span class="hljs-function"><span class="hljs-keyword">function</span>(<span class="hljs-params"></span>) </span>{
      <span class="hljs-built_in">console</span>.log(<span class="hljs-string">"- Start success"</span>);
    });
  }
});
</code></pre>
							<h3 id="-note-">ℹ️ Note:</h3>
							<p>The configuration <strong><code>{}</code></strong> provided to the <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#ready">ready</a> method is applied <strong>only</strong> when your app is <strong>first booted</strong> &mdash; for every launch thereafter, the plugin will automatically load the last known configuration from persistant storage.  If you wish to <strong>force</strong> the <code>#ready</code> method to <em>always</em> apply the supplied config <code>{}</code>, you can specify <strong><code>reset: true</code></strong></p>
						</dd>
						<dt class="tsd-comment-tag-example">example</dt>
						<dd><pre><code class="language-javascript">BackgroundGeolocation.ready({
  <span class="hljs-attr">reset</span>: <span class="hljs-literal">true</span>,  <span class="hljs-comment">// &lt;-- true to always apply the supplied config</span>
  distanceFilter: <span class="hljs-number">10</span>
}, (state) =&gt; {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'- BackgroundGeolocation is ready: '</span>, state);
});</code></pre>
							<h3 id="-warning-">⚠️ Warning:</h3>
							<p>Do not execute <em>any</em> API method which will require accessing location-services until the callback to <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#ready">ready</a> executes (eg: <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#getcurrentposition">getCurrentPosition</a>, <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#watchposition">watchPosition</a>, <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#start">start</a>).</p>
							<h3 id="promise-api">Promise API</h3>
							<p>The <code>BackgroundGeolocation</code> Javascript API supports <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise">Promises</a> for <em>nearly</em> every method (the exceptions are <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#watchposition">watchPosition</a> and adding event-listeners via <strong><code>#onEventName</code></strong> methods.)</p>
						</dd>
						<dt class="tsd-comment-tag-example">example</dt>
						<dd><pre><code class="language-javascript"><span class="hljs-comment">// Traditional API still works:</span>
BackgroundGeolocation.ready({<span class="hljs-attr">desiredAccuracy</span>: <span class="hljs-number">0</span>, <span class="hljs-attr">distanceFilter</span>: <span class="hljs-number">50</span>}).then(<span class="hljs-function"><span class="hljs-params">state</span> =&gt;</span> {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'- BackgroundGeolocation is ready: '</span>, state);
}).catch(<span class="hljs-function"><span class="hljs-params">error</span> =&gt;</span> {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'- BackgroundGeolocation error: '</span>, error);
});</code></pre>
						</dd>
					</dl>
				</div>
			</section>
			<section class="tsd-panel tsd-hierarchy">
				<h3>Hierarchy</h3>
				<ul class="tsd-hierarchy">
					<li>
						<span class="target">BackgroundGeolocation</span>
					</li>
				</ul>
			</section>
			<section class="tsd-panel-group tsd-index-group">
				<h2>Index</h2>
				<section class="tsd-panel tsd-index-panel">
					<div class="tsd-index-content">
						<section class="tsd-index-section ">
							<h3>Events</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-event tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#onactivitychange" class="tsd-kind-icon">on<wbr>Activity<wbr>Change</a></li>
								<li class="tsd-kind-event tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#onconnectivitychange" class="tsd-kind-icon">on<wbr>Connectivity<wbr>Change</a></li>
								<li class="tsd-kind-event tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#onenabledchange" class="tsd-kind-icon">on<wbr>Enabled<wbr>Change</a></li>
								<li class="tsd-kind-event tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#ongeofence" class="tsd-kind-icon">on<wbr>Geofence</a></li>
								<li class="tsd-kind-event tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#ongeofenceschange" class="tsd-kind-icon">on<wbr>Geofences<wbr>Change</a></li>
								<li class="tsd-kind-event tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#onheartbeat" class="tsd-kind-icon">on<wbr>Heartbeat</a></li>
								<li class="tsd-kind-event tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#onhttp" class="tsd-kind-icon">on<wbr>Http</a></li>
								<li class="tsd-kind-event tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#onlocation" class="tsd-kind-icon">on<wbr>Location</a></li>
								<li class="tsd-kind-event tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#onmotionchange" class="tsd-kind-icon">on<wbr>Motion<wbr>Change</a></li>
								<li class="tsd-kind-event tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#onpowersavechange" class="tsd-kind-icon">on<wbr>Power<wbr>Save<wbr>Change</a></li>
								<li class="tsd-kind-event tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#onproviderchange" class="tsd-kind-icon">on<wbr>Provider<wbr>Change</a></li>
								<li class="tsd-kind-event tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#onschedule" class="tsd-kind-icon">on<wbr>Schedule</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Properties</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#activity_type_automotive_navigation" class="tsd-kind-icon">ACTIVITY_<wbr>TYPE_<wbr>AUTOMOTIVE_<wbr>NAVIGATION</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#activity_type_fitness" class="tsd-kind-icon">ACTIVITY_<wbr>TYPE_<wbr>FITNESS</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#activity_type_other" class="tsd-kind-icon">ACTIVITY_<wbr>TYPE_<wbr>OTHER</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#activity_type_other_navigation" class="tsd-kind-icon">ACTIVITY_<wbr>TYPE_<wbr>OTHER_<wbr>NAVIGATION</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#authorization_status_always" class="tsd-kind-icon">AUTHORIZATION_<wbr>STATUS_<wbr>ALWAYS</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#authorization_status_denied" class="tsd-kind-icon">AUTHORIZATION_<wbr>STATUS_<wbr>DENIED</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#authorization_status_not_determined" class="tsd-kind-icon">AUTHORIZATION_<wbr>STATUS_<wbr>NOT_<wbr>DETERMINED</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#authorization_status_restricted" class="tsd-kind-icon">AUTHORIZATION_<wbr>STATUS_<wbr>RESTRICTED</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#authorization_status_when_in_use" class="tsd-kind-icon">AUTHORIZATION_<wbr>STATUS_<wbr>WHEN_<wbr>IN_<wbr>USE</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#desired_accuracy_high" class="tsd-kind-icon">DESIRED_<wbr>ACCURACY_<wbr>HIGH</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#desired_accuracy_low" class="tsd-kind-icon">DESIRED_<wbr>ACCURACY_<wbr>LOW</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#desired_accuracy_lowest" class="tsd-kind-icon">DESIRED_<wbr>ACCURACY_<wbr>LOWEST</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#desired_accuracy_medium" class="tsd-kind-icon">DESIRED_<wbr>ACCURACY_<wbr>MEDIUM</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#desired_accuracy_navigation" class="tsd-kind-icon">DESIRED_<wbr>ACCURACY_<wbr>NAVIGATION</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#desired_accuracy_very_low" class="tsd-kind-icon">DESIRED_<wbr>ACCURACY_<wbr>VERY_<wbr>LOW</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#log_level_debug" class="tsd-kind-icon">LOG_<wbr>LEVEL_<wbr>DEBUG</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#log_level_error" class="tsd-kind-icon">LOG_<wbr>LEVEL_<wbr>ERROR</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#log_level_info" class="tsd-kind-icon">LOG_<wbr>LEVEL_<wbr>INFO</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#log_level_off" class="tsd-kind-icon">LOG_<wbr>LEVEL_<wbr>OFF</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#log_level_verbose" class="tsd-kind-icon">LOG_<wbr>LEVEL_<wbr>VERBOSE</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#log_level_warning" class="tsd-kind-icon">LOG_<wbr>LEVEL_<wbr>WARNING</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#notification_priority_default" class="tsd-kind-icon">NOTIFICATION_<wbr>PRIORITY_<wbr>DEFAULT</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#notification_priority_high" class="tsd-kind-icon">NOTIFICATION_<wbr>PRIORITY_<wbr>HIGH</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#notification_priority_low" class="tsd-kind-icon">NOTIFICATION_<wbr>PRIORITY_<wbr>LOW</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#notification_priority_max" class="tsd-kind-icon">NOTIFICATION_<wbr>PRIORITY_<wbr>MAX</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#notification_priority_min" class="tsd-kind-icon">NOTIFICATION_<wbr>PRIORITY_<wbr>MIN</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#logger" class="tsd-kind-icon">logger</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Methods</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#addgeofence" class="tsd-kind-icon">add<wbr>Geofence</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#addgeofences" class="tsd-kind-icon">add<wbr>Geofences</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#changepace" class="tsd-kind-icon">change<wbr>Pace</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#destroylocations" class="tsd-kind-icon">destroy<wbr>Locations</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#destroylog" class="tsd-kind-icon">destroy<wbr>Log</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#emaillog" class="tsd-kind-icon">email<wbr>Log</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#finish" class="tsd-kind-icon">finish</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#getcount" class="tsd-kind-icon">get<wbr>Count</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#getcurrentposition" class="tsd-kind-icon">get<wbr>Current<wbr>Position</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#getgeofences" class="tsd-kind-icon">get<wbr>Geofences</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#getlocations" class="tsd-kind-icon">get<wbr>Locations</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#getlog" class="tsd-kind-icon">get<wbr>Log</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#getodometer" class="tsd-kind-icon">get<wbr>Odometer</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#getsensors" class="tsd-kind-icon">get<wbr>Sensors</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#getstate" class="tsd-kind-icon">get<wbr>State</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#insertlocation" class="tsd-kind-icon">insert<wbr>Location</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#ispowersavemode" class="tsd-kind-icon">is<wbr>Power<wbr>Save<wbr>Mode</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#playsound" class="tsd-kind-icon">play<wbr>Sound</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#ready" class="tsd-kind-icon">ready</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#registerheadlesstask" class="tsd-kind-icon">register<wbr>Headless<wbr>Task</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#removealllisteners" class="tsd-kind-icon">remove<wbr>All<wbr>Listeners</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#removegeofence" class="tsd-kind-icon">remove<wbr>Geofence</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#removegeofences" class="tsd-kind-icon">remove<wbr>Geofences</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#removelistener" class="tsd-kind-icon">remove<wbr>Listener</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#removelisteners" class="tsd-kind-icon">remove<wbr>Listeners</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#reset" class="tsd-kind-icon">reset</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#resetodometer" class="tsd-kind-icon">reset<wbr>Odometer</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#setconfig" class="tsd-kind-icon">set<wbr>Config</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#setloglevel" class="tsd-kind-icon">set<wbr>Log<wbr>Level</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#setodometer" class="tsd-kind-icon">set<wbr>Odometer</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#start" class="tsd-kind-icon">start</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#startbackgroundtask" class="tsd-kind-icon">start<wbr>Background<wbr>Task</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#startgeofences" class="tsd-kind-icon">start<wbr>Geofences</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#startschedule" class="tsd-kind-icon">start<wbr>Schedule</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#stop" class="tsd-kind-icon">stop</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#stopschedule" class="tsd-kind-icon">stop<wbr>Schedule</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#stopwatchposition" class="tsd-kind-icon">stop<wbr>Watch<wbr>Position</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#sync" class="tsd-kind-icon">sync</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#transistortrackerparams" class="tsd-kind-icon">transistor<wbr>Tracker<wbr>Params</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#watchposition" class="tsd-kind-icon">watch<wbr>Position</a></li>
							</ul>
						</section>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Events</h2>
				<section class="tsd-panel tsd-member tsd-kind-event tsd-parent-kind-class tsd-is-static">
					<a name="onactivitychange" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> on<wbr>Activity<wbr>Change</h3>
					<ul class="tsd-signatures tsd-kind-event tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">on<wbr>Activity<wbr>Change<span class="tsd-signature-symbol">(</span>callback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Subscribe to changes in motion activity.</p>
								</div>
								<p>Your <code>callback</code> will be executed each time the activity-recognition system receives an event (<code>still, on_foot, in_vehicle, on_bicycle, running</code>).</p>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript">BackgroundGeolocation.onActivityChange(<span class="hljs-function">(<span class="hljs-params">event</span>) =&gt;</span> {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[onActivityChange] '</span>, event);
});</code></pre>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>callback: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><a href="../interfaces/_cordova_background_geolocation_lt_.motionactivityevent.html" class="tsd-signature-type">MotionActivityEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>event: <a href="../interfaces/_cordova_background_geolocation_lt_.motionactivityevent.html" class="tsd-signature-type">MotionActivityEvent</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-event tsd-parent-kind-class tsd-is-static">
					<a name="onconnectivitychange" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> on<wbr>Connectivity<wbr>Change</h3>
					<ul class="tsd-signatures tsd-kind-event tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">on<wbr>Connectivity<wbr>Change<span class="tsd-signature-symbol">(</span>callback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Subscribe to changes in network connectivity.</p>
								</div>
								<p>Fired when the state of the device&#39;s network-connectivity changes (enabled -&gt; disabled and vice-versa).  By default, the plugin will automatically fire
								a <code>connectivitychange</code> event with the current state network-connectivity whenever the <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#start">start</a> method is executed.</p>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript">BackgroundGeolocation.oConnectivityChange(<span class="hljs-function">(<span class="hljs-params">event</span>) =&gt;</span> {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[onConnectivityChange] '</span>, event);
});</code></pre>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>callback: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><a href="../interfaces/_cordova_background_geolocation_lt_.connectivitychangeevent.html" class="tsd-signature-type">ConnectivityChangeEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>event: <a href="../interfaces/_cordova_background_geolocation_lt_.connectivitychangeevent.html" class="tsd-signature-type">ConnectivityChangeEvent</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-event tsd-parent-kind-class tsd-is-static">
					<a name="onenabledchange" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> on<wbr>Enabled<wbr>Change</h3>
					<ul class="tsd-signatures tsd-kind-event tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">on<wbr>Enabled<wbr>Change<span class="tsd-signature-symbol">(</span>callback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Subscribe to changes in plugin <a href="../interfaces/_cordova_background_geolocation_lt_.state.html#enabled">State.enabled</a>.</p>
								</div>
								<p>Fired when the plugin&#39;s <a href="../interfaces/_cordova_background_geolocation_lt_.state.html#enabled">State.enabled</a> changes.  For example, executing <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#start">start</a> and <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#stop">stop</a> will cause the <code>onEnabledChnage</code> event to fire.
									This event is primarily desigend for use with the configuration option <a href="../interfaces/_cordova_background_geolocation_lt_.config.html#stopafterelapsedminutes">stopAfterElapsedMinutes</a>, which automatically executes the plugin&#39;s
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#stop">stop</a> method.</p>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript">BackgroundGeolocation.onEnabledChange(<span class="hljs-function"><span class="hljs-params">isEnabled</span> =&gt;</span> {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[onEnabledChanged] isEnabled? '</span>, isEnabled);
});</code></pre>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>callback: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>enabled<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>enabled: <span class="tsd-signature-type">boolean</span></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-event tsd-parent-kind-class tsd-is-static">
					<a name="ongeofence" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> on<wbr>Geofence</h3>
					<ul class="tsd-signatures tsd-kind-event tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">on<wbr>Geofence<span class="tsd-signature-symbol">(</span>callback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Subscribe to Geofence transition events.</p>
								</div>
								<p>Your supplied <code>callback</code> will be called when any monitored geofence crossing occurs.</p>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-typescript">BackgroundGeolocation.onGeofence(<span class="hljs-function">(<span class="hljs-params">event</span>) =&gt;</span> {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[onGeofence] '</span>, event);
});</code></pre>
										<h3 id="-see-also-">ℹ️ See also:</h3>
										<ul>
											<li>📘 <a href="../interfaces/_cordova_background_geolocation_lt_.geofence.html">Geofence</a> Guide.</li>
										</ul>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>callback: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><a href="../interfaces/_cordova_background_geolocation_lt_.geofenceevent.html" class="tsd-signature-type">GeofenceEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>event: <a href="../interfaces/_cordova_background_geolocation_lt_.geofenceevent.html" class="tsd-signature-type">GeofenceEvent</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-event tsd-parent-kind-class tsd-is-static">
					<a name="ongeofenceschange" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> on<wbr>Geofences<wbr>Change</h3>
					<ul class="tsd-signatures tsd-kind-event tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">on<wbr>Geofences<wbr>Change<span class="tsd-signature-symbol">(</span>callback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Subscribe to changes in actively monitored geofences.</p>
								</div>
								<p>Fired when the list of monitored-geofences changed.  The BackgroundGeolocation SDK contains powerful geofencing features that allow you to monitor
								any number of circular geofences you wish (thousands even), in spite of limits imposed by the native platform APIs (<strong>20 for iOS; 100 for Android</strong>).</p>
								<p>The plugin achieves this by storing your geofences in its database, using a <a href="https://en.wikipedia.org/wiki/Spatial_query">geospatial query</a> to determine
									those geofences in proximity (@see <a href="../interfaces/_cordova_background_geolocation_lt_.config.html#geofenceproximityradius">geofenceProximityRadius</a>), activating only those geofences closest to the device&#39;s current location
								(according to limit imposed by the corresponding platform).</p>
								<p>When the device is determined to be moving, the plugin periodically queries for geofences in proximity (eg. every minute) using the latest recorded
								location.  This geospatial query is <strong>very fast</strong>, even with tens-of-thousands geofences in the database.</p>
								<p>It&#39;s when this list of monitored geofences <em>changes</em>, that the plugin will fire the <code>onGeofencesChange</code> event.</p>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript">BackgroundGeolocation.onGeofencesChange(<span class="hljs-function">(<span class="hljs-params">event</span>) =&gt;</span> {
  <span class="hljs-keyword">let</span> on = event.on;     <span class="hljs-comment">//&lt;-- new geofences activiated.</span>
  <span class="hljs-keyword">let</span> off = event.off; <span class="hljs-comment">//&lt;-- geofences that were just de-activated.</span>

  <span class="hljs-comment">// Create map circles</span>
  on.forEach(<span class="hljs-function">(<span class="hljs-params">geofence</span>) =&gt;</span> {
    createGeofenceMarker(geofence)
  });

  <span class="hljs-comment">// Remove map circles</span>
  off.forEach(<span class="hljs-function">(<span class="hljs-params">identifier</span>) =&gt;</span> {
    removeGeofenceMarker(identifier);
  }
});</code></pre>
										<h3 id="-see-also-">ℹ️ See also:</h3>
										<ul>
											<li>📘 <a href="../interfaces/_cordova_background_geolocation_lt_.geofence.html">Geofence</a> Guide.</li>
										</ul>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>callback: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><a href="../interfaces/_cordova_background_geolocation_lt_.geofenceschangeevent.html" class="tsd-signature-type">GeofencesChangeEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>event: <a href="../interfaces/_cordova_background_geolocation_lt_.geofenceschangeevent.html" class="tsd-signature-type">GeofencesChangeEvent</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-event tsd-parent-kind-class tsd-is-static">
					<a name="onheartbeat" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> on<wbr>Heartbeat</h3>
					<ul class="tsd-signatures tsd-kind-event tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">on<wbr>Heartbeat<span class="tsd-signature-symbol">(</span>callback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Subscribe to periodic heartbeat events.</p>
								</div>
								<p>Your <code>callback</code> will be executed for each <a href="../interfaces/_cordova_background_geolocation_lt_.config.html#heartbeatinterval">heartbeatInterval</a> while the device is in <strong>stationary</strong> state (<strong>iOS</strong> requires <a href="../interfaces/_cordova_background_geolocation_lt_.config.html#preventsuspend">preventSuspend</a>: true as well).</p>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript">BackgroundGeolocation.ready({
  <span class="hljs-attr">heartbeatInterval</span>: <span class="hljs-number">60</span>
});

BackgroundGeolocation.onHeartbeat(<span class="hljs-function">(<span class="hljs-params">event</span>) =&gt;</span> {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[onHeartbeat] '</span>, event);

  <span class="hljs-comment">// You could request a new location if you wish.</span>
  BackgroundGeolocation.getCurrentPosition({
    <span class="hljs-attr">samples</span>: <span class="hljs-number">1</span>,
    <span class="hljs-attr">persist</span>: <span class="hljs-literal">true</span>
  }).then(<span class="hljs-function">(<span class="hljs-params">location</span>) =&gt;</span> {
    <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[getCurrentPosition] '</span>, location);
  });
})</code></pre>
										<h3 id="-note-">⚠️ Note:</h3>
										<ul>
											<li>The <a href="../interfaces/_cordova_background_geolocation_lt_.location.html">Location</a> provided by the <a href="../interfaces/_cordova_background_geolocation_lt_.heartbeatevent.html">HeartbeatEvent</a> is only the last-known location.  The <em>heartbeat</em> event does not actively engage location-services.  If you wish to get the current location in your <code>callback</code>, use <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#getcurrentposition">getCurrentPosition</a>.</li>
										</ul>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>callback: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><a href="../interfaces/_cordova_background_geolocation_lt_.heartbeatevent.html" class="tsd-signature-type">HeartbeatEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>event: <a href="../interfaces/_cordova_background_geolocation_lt_.heartbeatevent.html" class="tsd-signature-type">HeartbeatEvent</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-event tsd-parent-kind-class tsd-is-static">
					<a name="onhttp" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> on<wbr>Http</h3>
					<ul class="tsd-signatures tsd-kind-event tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">on<wbr>Http<span class="tsd-signature-symbol">(</span>callback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Subscribe to HTTP responses from your server <a href="../interfaces/_cordova_background_geolocation_lt_.config.html#url">url</a>.</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript">BackgroundGeolocation.onHttp(<span class="hljs-function">(<span class="hljs-params">event</span>) =&gt;</span> {
  <span class="hljs-keyword">let</span> status = response.status;
  <span class="hljs-keyword">let</span> success = response.success;
  <span class="hljs-keyword">let</span> responseText = response.responseText;
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[onHttp] '</span>, event);
});</code></pre>
										<h3 id="-see-also-">ℹ️ See also:</h3>
										<ul>
											<li>HTTP Guide at <a href="../interfaces/_cordova_background_geolocation_lt_.httpevent.html">HttpEvent</a>.</li>
										</ul>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>callback: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>response<span class="tsd-signature-symbol">: </span><a href="../interfaces/_cordova_background_geolocation_lt_.httpevent.html" class="tsd-signature-type">HttpEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>response: <a href="../interfaces/_cordova_background_geolocation_lt_.httpevent.html" class="tsd-signature-type">HttpEvent</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-event tsd-parent-kind-class tsd-is-static">
					<a name="onlocation" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> on<wbr>Location</h3>
					<ul class="tsd-signatures tsd-kind-event tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">on<wbr>Location<span class="tsd-signature-symbol">(</span>success<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">function</span>, failure<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Subscribe to location events.</p>
								</div>
								<p>Every location recorded by the SDK is provided to your <code>callback</code>, including those from <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#onmotionchange">onMotionChange</a>, <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#getcurrentposition">getCurrentPosition</a> and <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#watchposition">watchPosition</a>.</p>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript">BackgroundGeolocation.onLocation(<span class="hljs-function">(<span class="hljs-params">location</span>) =&gt;</span> {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[onLocation] success: '</span>, location);
}, (error) =&gt; {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[onLocation] ERROR: '</span>, error);
});</code></pre>
										<h3 id="error-codes">Error Codes</h3>
										<p>If the native location API fails to return a location, the <code>failure</code> callback will be provided a <a href="../modules/_cordova_background_geolocation_lt_.html#locationerror">LocationError</a>.</p>
										<h3 id="-note-a-href-interfaces-_cordova_background_geolocation_lt_-location-html-sample-location-sample-a-">⚠️ Note <a href="../interfaces/_cordova_background_geolocation_lt_.location.html#sample">Location.sample</a>:</h3>
										<p>When performing a <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#onmotionchange">onMotionChange</a> or <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#getcurrentposition">getCurrentPosition</a>, the plugin requests <strong>multiple</strong> location <em>samples</em> in order to record the most accurate location possible.  These <em>samples</em> are <strong>not</strong> persisted to the database but they will be provided to your <code>callback</code>, for your convenience, since it can take some seconds for the best possible location to arrive.</p>
										<p>For example, you might use these samples to progressively update the user&#39;s position on a map.  You can detect these <em>samples</em> in your <code>callback</code> via <code>location.sample == true</code>.  If you&#39;re manually <code>POST</code>ing location to your server, you should ignore these locations.</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>success: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>location<span class="tsd-signature-symbol">: </span><a href="../interfaces/_cordova_background_geolocation_lt_.location.html" class="tsd-signature-type">Location</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>location: <a href="../interfaces/_cordova_background_geolocation_lt_.location.html" class="tsd-signature-type">Location</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> failure: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>errorCode<span class="tsd-signature-symbol">: </span><a href="../modules/_cordova_background_geolocation_lt_.html#locationerror" class="tsd-signature-type">LocationError</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>errorCode: <a href="../modules/_cordova_background_geolocation_lt_.html#locationerror" class="tsd-signature-type">LocationError</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-event tsd-parent-kind-class tsd-is-static">
					<a name="onmotionchange" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> on<wbr>Motion<wbr>Change</h3>
					<ul class="tsd-signatures tsd-kind-event tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">on<wbr>Motion<wbr>Change<span class="tsd-signature-symbol">(</span>callback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Subscribe to <strong><code>motionchange</code></strong> events.</p>
								</div>
								<p>Your <code>callback</code> will be executed each time the device has changed-state between <strong>MOVING</strong> or <strong>STATIONARY</strong>.</p>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript">BackgroundGeolocation.onMotionChange(<span class="hljs-function">(<span class="hljs-params">event</span>) =&gt;</span> {
  <span class="hljs-keyword">if</span> (event.isMoving) {
     <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[onMotionChange] Device has just started MOVING '</span>, event.location);
  } <span class="hljs-keyword">else</span> {
     <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[onMotionChange] Device has just STOPPED:  '</span>, event.location);
  }
});</code></pre>
										<h3 id="-see-also-">ℹ️ See also:</h3>
										<ul>
											<li><a href="../interfaces/_cordova_background_geolocation_lt_.config.html#stoptimeout">stopTimeout</a></li>
											<li>📘 <a href="https://github.com/transistorsoft/cordova-background-geolocation-lt/wiki/Philosophy-of-Operation">Philosophy of Operation</a></li>
										</ul>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>callback: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><a href="../interfaces/_cordova_background_geolocation_lt_.motionchangeevent.html" class="tsd-signature-type">MotionChangeEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>event: <a href="../interfaces/_cordova_background_geolocation_lt_.motionchangeevent.html" class="tsd-signature-type">MotionChangeEvent</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-event tsd-parent-kind-class tsd-is-static">
					<a name="onpowersavechange" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> on<wbr>Power<wbr>Save<wbr>Change</h3>
					<ul class="tsd-signatures tsd-kind-event tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">on<wbr>Power<wbr>Save<wbr>Change<span class="tsd-signature-symbol">(</span>callback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Subsribe to state changes in OS power-saving system.</p>
								</div>
								<p>Fired when the state of the operating-system&#39;s &quot;Power Saving&quot; mode changes.  Your <code>callback</code> will be provided with a <code>bool</code> showing whether
								&quot;Power Saving&quot; is <strong>enabled</strong> or <strong>disabled</strong>.  Power Saving mode can throttle certain services in the background, such as HTTP requests or GPS.</p>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-break">break</dt>
									<dd><p>ℹ️ You can manually request the current-state of &quot;Power Saving&quot; mode with the method <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#ispowersavemode">isPowerSaveMode</a>.</p>
										<h3 id="ios">iOS</h3>
										<p>iOS Power Saving mode can be engaged manually by the user in <strong>Settings -&gt; Battery</strong> or from an automatic OS dialog.</p>
										<p><img src="https://dl.dropboxusercontent.com/s/lz3zl2jg4nzstg3/Screenshot%202017-09-19%2010.34.21.png?dl=1" alt=""></p>
										<h3 id="android">Android</h3>
										<p>Android Power Saving mode can be engaged manually by the user in <strong>Settings -&gt; Battery -&gt; Battery Saver</strong> or automatically with a user-specified &quot;threshold&quot; (eg: 15%).</p>
										<p><img src="https://dl.dropboxusercontent.com/s/raz8lagrqayowia/Screenshot%202017-09-19%2010.33.49.png?dl=1" alt=""></p>
									</dd>
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript">BackgroundGeolocation.oPowerSaveChange(<span class="hljs-function">(<span class="hljs-params">isPowerSaveMode</span>) =&gt;</span> {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[onPowerSaveChange: '</span>, isPowerSaveMode);
});</code></pre>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>callback: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>enabled<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>enabled: <span class="tsd-signature-type">boolean</span></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-event tsd-parent-kind-class tsd-is-static">
					<a name="onproviderchange" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> on<wbr>Provider<wbr>Change</h3>
					<ul class="tsd-signatures tsd-kind-event tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">on<wbr>Provider<wbr>Change<span class="tsd-signature-symbol">(</span>callback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Subscribe to changes in device&#39;s location-services configuration / authorization.</p>
								</div>
								<p>Your <code>callback</code> fill be executed whenever a change in the state of the device&#39;s <strong>Location Services</strong> has been detected.  eg: &quot;GPS ON&quot;, &quot;Wifi only&quot;.</p>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript">BackgroundGeolocation.onProviderChange(<span class="hljs-function">(<span class="hljs-params">event</span>) =&gt;</span> {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[onProviderChange: '</span>, event);

  <span class="hljs-keyword">switch</span>(event.status) {
    <span class="hljs-keyword">case</span> BackgroundGeolocation.AUTHORIZATION_STATUS_DENIED:
      <span class="hljs-comment">// Android &amp; iOS</span>
      <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'- Location authorization denied'</span>);
      <span class="hljs-keyword">break</span>;
    <span class="hljs-keyword">case</span> BackgroundGeolocation.AUTHORIZATION_STATUS_ALWAYS:
      <span class="hljs-comment">// Android &amp; iOS</span>
      <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'- Location always granted'</span>);
      <span class="hljs-keyword">break</span>;
    <span class="hljs-keyword">case</span> BackgroundGeolocation.AUTHORIZATION_STATUS_WHEN_IN_USE:
      <span class="hljs-comment">// iOS only</span>
      <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'- Location WhenInUse granted'</span>);
      <span class="hljs-keyword">break</span>;
  }
});</code></pre>
										<h3 id="-note-">⚠️ Note:</h3>
										<ul>
											<li>The plugin always force-fires an <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#onproviderchange">onProviderChange</a> event whenever the app is launched (right after the <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#ready">ready</a> method is executed), regardless of current state, so you can learn the the current state of location-services with each boot of your application.</li>
										</ul>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>callback: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><a href="../interfaces/_cordova_background_geolocation_lt_.providerchangeevent.html" class="tsd-signature-type">ProviderChangeEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>event: <a href="../interfaces/_cordova_background_geolocation_lt_.providerchangeevent.html" class="tsd-signature-type">ProviderChangeEvent</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-event tsd-parent-kind-class tsd-is-static">
					<a name="onschedule" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> on<wbr>Schedule</h3>
					<ul class="tsd-signatures tsd-kind-event tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">on<wbr>Schedule<span class="tsd-signature-symbol">(</span>callback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Subscribe to <a href="../interfaces/_cordova_background_geolocation_lt_.config.html#schedule">schedule</a> events.</p>
								</div>
								<p>Your <code>callback</code> will be executed each time a <a href="../interfaces/_cordova_background_geolocation_lt_.config.html#schedule">schedule</a> event fires.  Your <code>callback</code> will be provided with the current <a href="../interfaces/_cordova_background_geolocation_lt_.state.html">State</a>:  <strong><code>state.enabled</code></strong>
								will reflect the state according to your <a href="../interfaces/_cordova_background_geolocation_lt_.config.html#schedule">schedule</a>.</p>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript">BackgroundGeolocation.onSchedule(<span class="hljs-function">(<span class="hljs-params">state</span>) =&gt;</span> {
  <span class="hljs-keyword">if</span> (state.enabled) {
    <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[onSchedule] scheduled start tracking'</span>);
  } <span class="hljs-keyword">else</span> {
    <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[onSchedule] scheduled stop tracking'</span>);
  }
});</code></pre>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>callback: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>state: <a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Properties</h2>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="activity_type_automotive_navigation" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> ACTIVITY_<wbr>TYPE_<wbr>AUTOMOTIVE_<wbr>NAVIGATION</h3>
					<div class="tsd-signature tsd-kind-icon">ACTIVITY_<wbr>TYPE_<wbr>AUTOMOTIVE_<wbr>NAVIGATION<span class="tsd-signature-symbol">:</span> <a href="../modules/_cordova_background_geolocation_lt_.html#activitytype" class="tsd-signature-type">ActivityType</a></div>
					<aside class="tsd-sources">
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="activity_type_fitness" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> ACTIVITY_<wbr>TYPE_<wbr>FITNESS</h3>
					<div class="tsd-signature tsd-kind-icon">ACTIVITY_<wbr>TYPE_<wbr>FITNESS<span class="tsd-signature-symbol">:</span> <a href="../modules/_cordova_background_geolocation_lt_.html#activitytype" class="tsd-signature-type">ActivityType</a></div>
					<aside class="tsd-sources">
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="activity_type_other" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> ACTIVITY_<wbr>TYPE_<wbr>OTHER</h3>
					<div class="tsd-signature tsd-kind-icon">ACTIVITY_<wbr>TYPE_<wbr>OTHER<span class="tsd-signature-symbol">:</span> <a href="../modules/_cordova_background_geolocation_lt_.html#activitytype" class="tsd-signature-type">ActivityType</a></div>
					<aside class="tsd-sources">
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="activity_type_other_navigation" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> ACTIVITY_<wbr>TYPE_<wbr>OTHER_<wbr>NAVIGATION</h3>
					<div class="tsd-signature tsd-kind-icon">ACTIVITY_<wbr>TYPE_<wbr>OTHER_<wbr>NAVIGATION<span class="tsd-signature-symbol">:</span> <a href="../modules/_cordova_background_geolocation_lt_.html#activitytype" class="tsd-signature-type">ActivityType</a></div>
					<aside class="tsd-sources">
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="authorization_status_always" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> AUTHORIZATION_<wbr>STATUS_<wbr>ALWAYS</h3>
					<div class="tsd-signature tsd-kind-icon">AUTHORIZATION_<wbr>STATUS_<wbr>ALWAYS<span class="tsd-signature-symbol">:</span> <a href="../modules/_cordova_background_geolocation_lt_.html#authorizationstatus" class="tsd-signature-type">AuthorizationStatus</a></div>
					<aside class="tsd-sources">
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="authorization_status_denied" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> AUTHORIZATION_<wbr>STATUS_<wbr>DENIED</h3>
					<div class="tsd-signature tsd-kind-icon">AUTHORIZATION_<wbr>STATUS_<wbr>DENIED<span class="tsd-signature-symbol">:</span> <a href="../modules/_cordova_background_geolocation_lt_.html#authorizationstatus" class="tsd-signature-type">AuthorizationStatus</a></div>
					<aside class="tsd-sources">
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="authorization_status_not_determined" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> AUTHORIZATION_<wbr>STATUS_<wbr>NOT_<wbr>DETERMINED</h3>
					<div class="tsd-signature tsd-kind-icon">AUTHORIZATION_<wbr>STATUS_<wbr>NOT_<wbr>DETERMINED<span class="tsd-signature-symbol">:</span> <a href="../modules/_cordova_background_geolocation_lt_.html#authorizationstatus" class="tsd-signature-type">AuthorizationStatus</a></div>
					<aside class="tsd-sources">
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="authorization_status_restricted" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> AUTHORIZATION_<wbr>STATUS_<wbr>RESTRICTED</h3>
					<div class="tsd-signature tsd-kind-icon">AUTHORIZATION_<wbr>STATUS_<wbr>RESTRICTED<span class="tsd-signature-symbol">:</span> <a href="../modules/_cordova_background_geolocation_lt_.html#authorizationstatus" class="tsd-signature-type">AuthorizationStatus</a></div>
					<aside class="tsd-sources">
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="authorization_status_when_in_use" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> AUTHORIZATION_<wbr>STATUS_<wbr>WHEN_<wbr>IN_<wbr>USE</h3>
					<div class="tsd-signature tsd-kind-icon">AUTHORIZATION_<wbr>STATUS_<wbr>WHEN_<wbr>IN_<wbr>USE<span class="tsd-signature-symbol">:</span> <a href="../modules/_cordova_background_geolocation_lt_.html#authorizationstatus" class="tsd-signature-type">AuthorizationStatus</a></div>
					<aside class="tsd-sources">
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="desired_accuracy_high" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> DESIRED_<wbr>ACCURACY_<wbr>HIGH</h3>
					<div class="tsd-signature tsd-kind-icon">DESIRED_<wbr>ACCURACY_<wbr>HIGH<span class="tsd-signature-symbol">:</span> <a href="../modules/_cordova_background_geolocation_lt_.html#locationaccuracy" class="tsd-signature-type">LocationAccuracy</a></div>
					<aside class="tsd-sources">
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="desired_accuracy_low" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> DESIRED_<wbr>ACCURACY_<wbr>LOW</h3>
					<div class="tsd-signature tsd-kind-icon">DESIRED_<wbr>ACCURACY_<wbr>LOW<span class="tsd-signature-symbol">:</span> <a href="../modules/_cordova_background_geolocation_lt_.html#locationaccuracy" class="tsd-signature-type">LocationAccuracy</a></div>
					<aside class="tsd-sources">
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="desired_accuracy_lowest" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> DESIRED_<wbr>ACCURACY_<wbr>LOWEST</h3>
					<div class="tsd-signature tsd-kind-icon">DESIRED_<wbr>ACCURACY_<wbr>LOWEST<span class="tsd-signature-symbol">:</span> <a href="../modules/_cordova_background_geolocation_lt_.html#locationaccuracy" class="tsd-signature-type">LocationAccuracy</a></div>
					<aside class="tsd-sources">
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="desired_accuracy_medium" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> DESIRED_<wbr>ACCURACY_<wbr>MEDIUM</h3>
					<div class="tsd-signature tsd-kind-icon">DESIRED_<wbr>ACCURACY_<wbr>MEDIUM<span class="tsd-signature-symbol">:</span> <a href="../modules/_cordova_background_geolocation_lt_.html#locationaccuracy" class="tsd-signature-type">LocationAccuracy</a></div>
					<aside class="tsd-sources">
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="desired_accuracy_navigation" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> DESIRED_<wbr>ACCURACY_<wbr>NAVIGATION</h3>
					<div class="tsd-signature tsd-kind-icon">DESIRED_<wbr>ACCURACY_<wbr>NAVIGATION<span class="tsd-signature-symbol">:</span> <a href="../modules/_cordova_background_geolocation_lt_.html#locationaccuracy" class="tsd-signature-type">LocationAccuracy</a></div>
					<aside class="tsd-sources">
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="desired_accuracy_very_low" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> DESIRED_<wbr>ACCURACY_<wbr>VERY_<wbr>LOW</h3>
					<div class="tsd-signature tsd-kind-icon">DESIRED_<wbr>ACCURACY_<wbr>VERY_<wbr>LOW<span class="tsd-signature-symbol">:</span> <a href="../modules/_cordova_background_geolocation_lt_.html#locationaccuracy" class="tsd-signature-type">LocationAccuracy</a></div>
					<aside class="tsd-sources">
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="log_level_debug" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> LOG_<wbr>LEVEL_<wbr>DEBUG</h3>
					<div class="tsd-signature tsd-kind-icon">LOG_<wbr>LEVEL_<wbr>DEBUG<span class="tsd-signature-symbol">:</span> <a href="../modules/_cordova_background_geolocation_lt_.html#loglevel" class="tsd-signature-type">LogLevel</a></div>
					<aside class="tsd-sources">
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="log_level_error" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> LOG_<wbr>LEVEL_<wbr>ERROR</h3>
					<div class="tsd-signature tsd-kind-icon">LOG_<wbr>LEVEL_<wbr>ERROR<span class="tsd-signature-symbol">:</span> <a href="../modules/_cordova_background_geolocation_lt_.html#loglevel" class="tsd-signature-type">LogLevel</a></div>
					<aside class="tsd-sources">
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="log_level_info" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> LOG_<wbr>LEVEL_<wbr>INFO</h3>
					<div class="tsd-signature tsd-kind-icon">LOG_<wbr>LEVEL_<wbr>INFO<span class="tsd-signature-symbol">:</span> <a href="../modules/_cordova_background_geolocation_lt_.html#loglevel" class="tsd-signature-type">LogLevel</a></div>
					<aside class="tsd-sources">
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="log_level_off" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> LOG_<wbr>LEVEL_<wbr>OFF</h3>
					<div class="tsd-signature tsd-kind-icon">LOG_<wbr>LEVEL_<wbr>OFF<span class="tsd-signature-symbol">:</span> <a href="../modules/_cordova_background_geolocation_lt_.html#loglevel" class="tsd-signature-type">LogLevel</a></div>
					<aside class="tsd-sources">
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="log_level_verbose" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> LOG_<wbr>LEVEL_<wbr>VERBOSE</h3>
					<div class="tsd-signature tsd-kind-icon">LOG_<wbr>LEVEL_<wbr>VERBOSE<span class="tsd-signature-symbol">:</span> <a href="../modules/_cordova_background_geolocation_lt_.html#loglevel" class="tsd-signature-type">LogLevel</a></div>
					<aside class="tsd-sources">
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="log_level_warning" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> LOG_<wbr>LEVEL_<wbr>WARNING</h3>
					<div class="tsd-signature tsd-kind-icon">LOG_<wbr>LEVEL_<wbr>WARNING<span class="tsd-signature-symbol">:</span> <a href="../modules/_cordova_background_geolocation_lt_.html#loglevel" class="tsd-signature-type">LogLevel</a></div>
					<aside class="tsd-sources">
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="notification_priority_default" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> NOTIFICATION_<wbr>PRIORITY_<wbr>DEFAULT</h3>
					<div class="tsd-signature tsd-kind-icon">NOTIFICATION_<wbr>PRIORITY_<wbr>DEFAULT<span class="tsd-signature-symbol">:</span> <a href="../modules/_cordova_background_geolocation_lt_.html#notificationpriority" class="tsd-signature-type">NotificationPriority</a></div>
					<aside class="tsd-sources">
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="notification_priority_high" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> NOTIFICATION_<wbr>PRIORITY_<wbr>HIGH</h3>
					<div class="tsd-signature tsd-kind-icon">NOTIFICATION_<wbr>PRIORITY_<wbr>HIGH<span class="tsd-signature-symbol">:</span> <a href="../modules/_cordova_background_geolocation_lt_.html#notificationpriority" class="tsd-signature-type">NotificationPriority</a></div>
					<aside class="tsd-sources">
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="notification_priority_low" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> NOTIFICATION_<wbr>PRIORITY_<wbr>LOW</h3>
					<div class="tsd-signature tsd-kind-icon">NOTIFICATION_<wbr>PRIORITY_<wbr>LOW<span class="tsd-signature-symbol">:</span> <a href="../modules/_cordova_background_geolocation_lt_.html#notificationpriority" class="tsd-signature-type">NotificationPriority</a></div>
					<aside class="tsd-sources">
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="notification_priority_max" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> NOTIFICATION_<wbr>PRIORITY_<wbr>MAX</h3>
					<div class="tsd-signature tsd-kind-icon">NOTIFICATION_<wbr>PRIORITY_<wbr>MAX<span class="tsd-signature-symbol">:</span> <a href="../modules/_cordova_background_geolocation_lt_.html#notificationpriority" class="tsd-signature-type">NotificationPriority</a></div>
					<aside class="tsd-sources">
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="notification_priority_min" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> NOTIFICATION_<wbr>PRIORITY_<wbr>MIN</h3>
					<div class="tsd-signature tsd-kind-icon">NOTIFICATION_<wbr>PRIORITY_<wbr>MIN<span class="tsd-signature-symbol">:</span> <a href="../modules/_cordova_background_geolocation_lt_.html#notificationpriority" class="tsd-signature-type">NotificationPriority</a></div>
					<aside class="tsd-sources">
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="logger" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> logger</h3>
					<div class="tsd-signature tsd-kind-icon">logger<span class="tsd-signature-symbol">:</span> <a href="../interfaces/_cordova_background_geolocation_lt_.logger.html" class="tsd-signature-type">Logger</a></div>
					<aside class="tsd-sources">
					</aside>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Methods</h2>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="addgeofence" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> add<wbr>Geofence</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">add<wbr>Geofence<span class="tsd-signature-symbol">(</span>config<span class="tsd-signature-symbol">: </span><a href="../interfaces/_cordova_background_geolocation_lt_.geofence.html" class="tsd-signature-type">Geofence</a>, success<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span>, failure<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Adds a <a href="../interfaces/_cordova_background_geolocation_lt_.geofence.html">Geofence</a> to be monitored by the native Geofencing API.</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript">BackgroundGeolocation.addGeofence({
  <span class="hljs-attr">identifier</span>: <span class="hljs-string">"Home"</span>,
  <span class="hljs-attr">radius</span>: <span class="hljs-number">150</span>,
  <span class="hljs-attr">latitude</span>: <span class="hljs-number">45.51921926</span>,
  <span class="hljs-attr">longitude</span>: <span class="hljs-number">-73.61678581</span>,
  <span class="hljs-attr">notifyOnEntry</span>: <span class="hljs-literal">true</span>,
  <span class="hljs-attr">notifyOnExit</span>: <span class="hljs-literal">false</span>,
  <span class="hljs-attr">notifyOnDwell</span>: <span class="hljs-literal">true</span>,
  <span class="hljs-attr">loiteringDelay</span>: <span class="hljs-number">30000</span>,  <span class="hljs-comment">// 30 seconds</span>
  extras: {               <span class="hljs-comment">// Optional arbitrary meta-data</span>
    zone_id: <span class="hljs-number">1234</span>
  }
}).then(<span class="hljs-function">(<span class="hljs-params">success</span>) =&gt;</span> {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[addGeofence] success'</span>);
}).catchError(<span class="hljs-function">(<span class="hljs-params">error</span>) =&gt;</span> {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[addGeofence] FAILURE: '</span>, error);
});</code></pre>
										<h3 id="-note-">ℹ️ Note:</h3>
										<ul>
											<li>If a geofence(s) <em>already</em> exists with the configured <a href="../interfaces/_cordova_background_geolocation_lt_.geofence.html#identifier">Geofence.identifier</a>, the previous one(s) will be <strong>deleted</strong> before the new one is inserted.</li>
											<li>When adding <em>multiple</em>, it&#39;s about <strong>10 times faster</strong> to use <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#addgeofences">addGeofences</a> instead.</li>
											<li>📘<a href="../interfaces/_cordova_background_geolocation_lt_.geofence.html">Geofence</a> Guide.</li>
										</ul>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>config: <a href="../interfaces/_cordova_background_geolocation_lt_.geofence.html" class="tsd-signature-type">Geofence</a></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> success: <span class="tsd-signature-type">Function</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> failure: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>error: <span class="tsd-signature-type">string</span></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="addgeofences" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> add<wbr>Geofences</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">add<wbr>Geofences<span class="tsd-signature-symbol">(</span>geofences<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Array</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_cordova_background_geolocation_lt_.geofence.html" class="tsd-signature-type">Geofence</a><span class="tsd-signature-symbol">&gt;</span>, success<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span>, failure<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Adds a list of <a href="../interfaces/_cordova_background_geolocation_lt_.geofence.html">Geofence</a> to be monitored by the native Geofencing API.</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript"><span class="hljs-keyword">let</span> geofences = [{
  <span class="hljs-attr">identifier</span>: <span class="hljs-string">'foo'</span>,
  <span class="hljs-attr">radius</span>: <span class="hljs-number">200</span>,
  <span class="hljs-attr">latitude</span>: <span class="hljs-number">45.51921926</span>,
  <span class="hljs-attr">longitude</span>: <span class="hljs-number">-73.61678581</span>,
  <span class="hljs-attr">notifyOnEntry</span>: <span class="hljs-literal">true</span>
},
  <span class="hljs-attr">identifier</span>: <span class="hljs-string">'bar'</span>,
  <span class="hljs-attr">radius</span>: <span class="hljs-number">200</span>,
  <span class="hljs-attr">latitude</span>: <span class="hljs-number">45.51921926</span>,
  <span class="hljs-attr">longitude</span>: <span class="hljs-number">-73.61678581</span>,
  <span class="hljs-attr">notifyOnEntry</span>: <span class="hljs-literal">true</span>
}];

BackgroundGeolocation.addGeofences(geofences);</code></pre>
										<h3 id="-note-">ℹ️ Note:</h3>
										<ul>
											<li>If a geofence(s) <em>already</em> exists with the configured <a href="../interfaces/_cordova_background_geolocation_lt_.geofence.html#identifier">Geofence.identifier</a>, the previous one(s) will be <strong>deleted</strong> before the new one is inserted.</li>
											<li>📘<a href="../interfaces/_cordova_background_geolocation_lt_.geofence.html">Geofence</a> Guide.</li>
											<li><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#addgeofence">addGeofence</a></li>
										</ul>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>geofences: <span class="tsd-signature-type">Array</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_cordova_background_geolocation_lt_.geofence.html" class="tsd-signature-type">Geofence</a><span class="tsd-signature-symbol">&gt;</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> success: <span class="tsd-signature-type">Function</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> failure: <span class="tsd-signature-type">Function</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="changepace" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> change<wbr>Pace</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">change<wbr>Pace<span class="tsd-signature-symbol">(</span>isMoving<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span>, success<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span>, failure<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Manually toggles the plugin&#39;s <strong>motion state</strong> between <strong>stationary</strong> and <strong>moving</strong>.</p>
								</div>
								<p>When provided a value of  <strong><code>true</code></strong>, the plugin will engage location-services and begin aggressively tracking the device&#39;s location <em>immediately</em>,
								bypassing stationary monitoring.</p>
								<p>If you were making a &quot;Jogging&quot; application, this would be your <strong><code>[Start Workout]</code></strong> button to immediately begin location-tracking.  Send <strong><code>false</code></strong>
								to turn <strong>off</strong> location-services and return the plugin to the <strong>stationary</strong> state.</p>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript">BackgroundGeolocation.changePace(<span class="hljs-literal">true</span>);  <span class="hljs-comment">// &lt;-- Location-services ON ("moving" state)</span>
BackgroundGeolocation.changePace(<span class="hljs-literal">false</span>); <span class="hljs-comment">// &lt;-- Location-services OFF ("stationary" state)</span></code></pre>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>isMoving: <span class="tsd-signature-type">boolean</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> success: <span class="tsd-signature-type">Function</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> failure: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>error: <span class="tsd-signature-type">string</span></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="destroylocations" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> destroy<wbr>Locations</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">destroy<wbr>Locations<span class="tsd-signature-symbol">(</span>success<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span>, failure<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Remove all records in plugin&#39;s SQLite database.</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript"><span class="hljs-keyword">let</span> success = <span class="hljs-keyword">await</span> BackgroundGeolocation.destroyLocations();</code></pre>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> success: <span class="tsd-signature-type">Function</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> failure: <span class="tsd-signature-type">Function</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="destroylog" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> destroy<wbr>Log</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">destroy<wbr>Log<span class="tsd-signature-symbol">(</span>success<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span>, failure<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Destory the entire contents of plugin&#39;s log database.</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript">BackgroundGeolocation.destroyLog();</code></pre>
										<h3 id="-see-also-">ℹ️ See also:</h3>
										<ul>
											<li><a href="../interfaces/_cordova_background_geolocation_lt_.config.html#loglevel">logLevel</a></li>
											<li><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#getlog">getLog</a></li>
											<li><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#emaillog">emailLog</a></li>
											<li>📘<a href="https://github.com/transistorsoft/cordova-background-geolocation-lt/wiki/Debugging">Debugging Guide</a></li>
										</ul>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> success: <span class="tsd-signature-type">Function</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> failure: <span class="tsd-signature-type">Function</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="emaillog" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> email<wbr>Log</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">email<wbr>Log<span class="tsd-signature-symbol">(</span>email<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, success<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span>, failure<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Email the result of <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#getlog">getLog</a> using device&#39;s mail client.</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript">BackgroundGeolocation.emailLog(<span class="hljs-string">'foo@bar.com'</span>).then(<span class="hljs-function">(<span class="hljs-params">success</span>) =&gt;</span> {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[emailLog] success'</span>);
}).catchError(<span class="hljs-function">(<span class="hljs-params">error</span>) =&gt;</span> {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[emailLog] FAILURE: '</span>, error);
});</code></pre>
										<h3 id="-see-also-">ℹ️ See also:</h3>
										<ul>
											<li><a href="../interfaces/_cordova_background_geolocation_lt_.config.html#loglevel">logLevel</a></li>
											<li><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#getlog">getLog</a></li>
											<li>📘<a href="https://github.com/transistorsoft/cordova-background-geolocation-lt/wiki/Debugging">Debugging Guide</a>.</li>
										</ul>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>email: <span class="tsd-signature-type">string</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> success: <span class="tsd-signature-type">Function</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> failure: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>error: <span class="tsd-signature-type">string</span></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="finish" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> finish</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">finish<span class="tsd-signature-symbol">(</span>taskId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, success<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span>, failure<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Signal completion of <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#startbackgroundtask">startBackgroundTask</a></p>
								</div>
								<p>Sends a signal to the native OS that your long-running task, addressed by <code>taskId</code> privided by <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#startbackgroundtask">startBackgroundTask</a> is complete and the OS may proceed
								to suspend your application if applicable.</p>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript">BackgroundGeolocation.startBackgroundTask().then(<span class="hljs-function">(<span class="hljs-params">taskId</span>) =&gt;</span> {
  <span class="hljs-comment">// Perform some long-running task (eg: HTTP request)</span>
  performLongRunningTask.then(<span class="hljs-function"><span class="hljs-params">()</span> =&gt;</span> {
    <span class="hljs-comment">// When your long-running task is complete, signal completion of taskId.</span>
    BackgroundGeolocation.finish(taskId);
  });
});</code></pre>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>taskId: <span class="tsd-signature-type">number</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> success: <span class="tsd-signature-type">Function</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> failure: <span class="tsd-signature-type">Function</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="getcount" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> get<wbr>Count</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Count<span class="tsd-signature-symbol">(</span>success<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span>, failure<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Retrive the count of all locations current stored in the plugin&#39;s SQLite datbase.</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript"><span class="hljs-keyword">let</span> count = <span class="hljs-keyword">await</span> BackgroundGeolocation.getCount();</code></pre>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> success: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>count<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>count: <span class="tsd-signature-type">number</span></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> failure: <span class="tsd-signature-type">Function</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="getcurrentposition" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> get<wbr>Current<wbr>Position</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Current<wbr>Position<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">: </span><a href="../interfaces/_cordova_background_geolocation_lt_.currentpositionrequest.html" class="tsd-signature-type">CurrentPositionRequest</a>, success<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span>, failure<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_cordova_background_geolocation_lt_.location.html" class="tsd-signature-type">Location</a><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Retrieves the current <a href="../interfaces/_cordova_background_geolocation_lt_.location.html">Location</a>.</p>
								</div>
								<p>This method instructs the native code to fetch exactly one location using maximum power &amp; accuracy.  The native code will persist the fetched location to
									its SQLite database just as any other location in addition to POSTing to your configured <a href="../interfaces/_cordova_background_geolocation_lt_.config.html#url">url</a>.
								If an error occurs while fetching the location, <code>catchError</code> will be provided with an <a href="../modules/_cordova_background_geolocation_lt_.html#locationerror">LocationError</a>.</p>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-break">break</dt>
									<dd><h3 id="options">Options</h3>
										<p>See <a href="../interfaces/_cordova_background_geolocation_lt_.currentpositionrequest.html">CurrentPositionRequest</a>.</p>
										<h3 id="error-codes">Error Codes</h3>
										<p>See <a href="../modules/_cordova_background_geolocation_lt_.html#locationerror">LocationError</a>.</p>
									</dd>
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript"><span class="hljs-keyword">let</span> location = <span class="hljs-keyword">await</span> BackgroundGeolocation.getCurrentPosition({
  <span class="hljs-attr">timeout</span>: <span class="hljs-number">30</span>,          <span class="hljs-comment">// 30 second timeout to fetch location</span>
  maximumAge: <span class="hljs-number">5000</span>,     <span class="hljs-comment">// Accept the last-known-location if not older than 5000 ms.</span>
  desiredAccuracy: <span class="hljs-number">10</span>,  <span class="hljs-comment">// Try to fetch a location with an accuracy of `10` meters.</span>
  samples: <span class="hljs-number">3</span>,           <span class="hljs-comment">// How many location samples to attempt.</span>
  extras: {             <span class="hljs-comment">// Custom meta-data.</span>
    <span class="hljs-string">"route_id"</span>: <span class="hljs-number">123</span>
  }
});</code></pre>
										<h3 id="-note-">⚠️ Note:</h3>
										<ul>
											<li>While <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#getcurrentposition">getCurrentPosition</a> will receive only <strong>one</strong> <a href="../interfaces/_cordova_background_geolocation_lt_.location.html">Location</a>, the plugin <em>does</em> request <strong>multiple</strong> location samples which will all be provided
											to the <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#onlocation">onLocation</a> event-listener.  You can detect these samples via <a href="../interfaces/_cordova_background_geolocation_lt_.location.html#sample">Location.sample</a> <code>== true</code>.</li>
										</ul>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>options: <a href="../interfaces/_cordova_background_geolocation_lt_.currentpositionrequest.html" class="tsd-signature-type">CurrentPositionRequest</a></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> success: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>location<span class="tsd-signature-symbol">: </span><a href="../interfaces/_cordova_background_geolocation_lt_.location.html" class="tsd-signature-type">Location</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>location: <a href="../interfaces/_cordova_background_geolocation_lt_.location.html" class="tsd-signature-type">Location</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> failure: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>errorCode<span class="tsd-signature-symbol">: </span><a href="../modules/_cordova_background_geolocation_lt_.html#locationerror" class="tsd-signature-type">LocationError</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>errorCode: <a href="../modules/_cordova_background_geolocation_lt_.html#locationerror" class="tsd-signature-type">LocationError</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_cordova_background_geolocation_lt_.location.html" class="tsd-signature-type">Location</a><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="getgeofences" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> get<wbr>Geofences</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Geofences<span class="tsd-signature-symbol">(</span>success<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span>, failure<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Array</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_cordova_background_geolocation_lt_.geofence.html" class="tsd-signature-type">Geofence</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Fetch a list of all <a href="../interfaces/_cordova_background_geolocation_lt_.geofence.html">Geofence</a> in the SDK&#39;s database.  If there are no geofences being monitored, you&#39;ll receive an empty <code>Array</code>.</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript"><span class="hljs-keyword">let</span> geofences = <span class="hljs-keyword">await</span> BackgroundGeolocation.getGeofences();
<span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[getGeofences: '</span>, geofences);</code></pre>
										<h3 id="-see-also-">ℹ️ See also:</h3>
										<ul>
											<li>📘 <a href="../interfaces/_cordova_background_geolocation_lt_.geofence.html">Geofence</a> Guide.</li>
										</ul>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> success: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>geofences<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Array</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_cordova_background_geolocation_lt_.geofence.html" class="tsd-signature-type">Geofence</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>geofences: <span class="tsd-signature-type">Array</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_cordova_background_geolocation_lt_.geofence.html" class="tsd-signature-type">Geofence</a><span class="tsd-signature-symbol">&gt;</span></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> failure: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>error: <span class="tsd-signature-type">string</span></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Array</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_cordova_background_geolocation_lt_.geofence.html" class="tsd-signature-type">Geofence</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="getlocations" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> get<wbr>Locations</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Locations<span class="tsd-signature-symbol">(</span>success<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span>, failure<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Array</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Object</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Retrive a List of <a href="../interfaces/_cordova_background_geolocation_lt_.location.html">Location</a> currently stored in the plugin&#39;s SQLite datbase.</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript"><span class="hljs-keyword">let</span> locations = <span class="hljs-keyword">await</span> BackgroundGeolocation.getLocations();</code></pre>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> success: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>locations<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Array</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Object</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>locations: <span class="tsd-signature-type">Array</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Object</span><span class="tsd-signature-symbol">&gt;</span></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> failure: <span class="tsd-signature-type">Function</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Array</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Object</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="getlog" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> get<wbr>Log</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Log<span class="tsd-signature-symbol">(</span>success<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span>, failure<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Returns the entire contents of the log database.</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-break">break</dt>
									<dd><p>Depending on the configured <a href="../interfaces/_cordova_background_geolocation_lt_.config.html#loglevel">logLevel</a>, the plugin can store an <em>immense</em> amount of helpful logging information for debugging location-tracking
										problems.</p>
										<h3 id="-see-also-">ℹ️ See also:</h3>
										<ul>
											<li><a href="../interfaces/_cordova_background_geolocation_lt_.config.html#logmaxdays">logMaxDays</a> (default <code>3</code> days)</li>
											<li><a href="../interfaces/_cordova_background_geolocation_lt_.config.html#loglevel">logLevel</a>   (default <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#log_level_off">LOG_LEVEL_OFF</a>)</li>
											<li><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#emaillog">emailLog</a></li>
											<li>📘<a href="https://github.com/transistorsoft/cordova-background-geolocation-lt/wiki/Debugging">Debugging Guide</a>
											log data:</li>
										</ul>
									</dd>
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript">BackgroundGeolocation.getLog.then(<span class="hljs-function">(<span class="hljs-params">log</span>) =&gt;</span> {
  <span class="hljs-comment">// Warning:  this string could be several megabytes.</span>
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[log] success: '</span>, log);
});</code></pre>
										<pre><code>09-19 11:12:18.716 ╔═════════════════════════════════════════════
09-19 11:12:18.716 ║ BackgroundGeolocation<span class="hljs-built_in"> Service </span>started
09-19 11:12:18.716 ╠═════════════════════════════════════════════
09-19 11:12:18.723 [c.t.l.BackgroundGeolocationService d]
09-19 11:12:18.723   ✅  Started <span class="hljs-keyword">in</span> foreground
09-19 11:12:18.737 [c.t.l.ActivityRecognitionService a]
09-19 11:12:18.737   🎾  Start activity updates: 10000
09-19 11:12:18.761 [c.t.l.BackgroundGeolocationService k]
09-19 11:12:18.761   🔴  Stop heartbeat
09-19 11:12:18.768 [c.t.l.BackgroundGeolocationService a]
09-19 11:12:18.768   🎾  Start heartbeat (60)
09-19 11:12:18.778 [c.t.l.BackgroundGeolocationService a]
09-19 11:12:18.778   🔵  setPace: <span class="hljs-literal">null</span> → <span class="hljs-literal">false</span>
09-19 11:12:18.781 [c.t.l.adapter.TSConfig c] ℹ️   Persist<span class="hljs-built_in"> config
</span>09-19 11:12:18.794 [c.t.locationmanager.util.b a]
09-19 11:12:18.794   ℹ️  LocationAuthorization: Permission granted
09-19 11:12:18.842 [c.t.l.http.HttpService flush]
09-19 11:12:18.842 ╔═════════════════════════════════════════════
09-19 11:12:18.842 ║ HTTP<span class="hljs-built_in"> Service
</span>09-19 11:12:18.842 ╠═════════════════════════════════════════════
09-19 11:12:19.000 [c.t.l.BackgroundGeolocationService onActivityRecognitionResult] still (100%)
09-19 11:12:21.314 [c.t.l.l.SingleLocationRequest<span class="hljs-variable">$2</span> onLocationResult]
09-19 11:12:21.314 ╔═════════════════════════════════════════════
09-19 11:12:21.314 ║ SingleLocationRequest: 1
09-19 11:12:21.314 ╠═════════════════════════════════════════════
09-19 11:12:21.314 ╟─ 📍  Location[fused 45.519239,-73.617058 <span class="hljs-attribute">hAcc</span>=15]999923706055 <span class="hljs-attribute">vAcc</span>=2 <span class="hljs-attribute">sAcc</span>=??? <span class="hljs-attribute">bAcc</span>=???
09-19 11:12:21.327 [c.t.l.l.TSLocationManager onSingleLocationResult]
09-19 11:12:21.327   🔵  Acquired motionchange position, isMoving: <span class="hljs-literal">false</span>
09-19 11:12:21.342 [c.t.l.l.TSLocationManager a] 15.243
09-19 11:12:21.405 [c.t.locationmanager.data.a.c persist]
09-19 11:12:21.405   ✅  INSERT: bca5acc8-e358-4d8f-827f-b8c0d556b7bb
09-19 11:12:21.423 [c.t.l.http.HttpService flush]
09-19 11:12:21.423 ╔═════════════════════════════════════════════
09-19 11:12:21.423 ║ HTTP<span class="hljs-built_in"> Service
</span>09-19 11:12:21.423 ╠═════════════════════════════════════════════
09-19 11:12:21.446 [c.t.locationmanager.data.a.c first]
09-19 11:12:21.446   ✅  Locked 1 records
09-19 11:12:21.454 [c.t.l.http.HttpService a]
09-19 11:12:21.454   🔵  HTTP POST: bca5acc8-e358-4d8f-827f-b8c0d556b7bb
09-19 11:12:22.083 [c.t.l.http.HttpService<span class="hljs-variable">$a</span> onResponse]
09-19 11:12:22.083   🔵  Response: 200
09-19 11:12:22.100 [c.t.locationmanager.data.a.c destroy]
09-19 11:12:22.100   ✅  DESTROY: bca5acc8-e358-4d8f-827f-b8c0d556b7bb
09-19 11:12:55.226 [c.t.l.BackgroundGeolocationService onActivityRecognitionResult] still (100%)</code></pre></dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> success: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>log<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>log: <span class="tsd-signature-type">string</span></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> failure: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>error: <span class="tsd-signature-type">string</span></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="getodometer" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> get<wbr>Odometer</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Odometer<span class="tsd-signature-symbol">(</span>success<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span>, failure<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Retrieve the current distance-travelled (&quot;odometer&quot;).</p>
								</div>
								<p>The plugin constantly tracks distance travelled, computing the distance between the current location and last and maintaining the sum.  To fetch the
								current <strong>odometer</strong> reading:</p>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript"><span class="hljs-keyword">let</span> odometer = <span class="hljs-keyword">await</span> BackgroundGeolocation.getOdometer();</code></pre>
										<h3 id="-see-also-">ℹ️ See also:</h3>
										<ul>
											<li><a href="../interfaces/_cordova_background_geolocation_lt_.config.html#desiredodometeraccuracy">desiredOdometerAccuracy</a>.</li>
											<li><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#resetodometer">resetOdometer</a> / <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#setodometer">setOdometer</a>.</li>
										</ul>
										<h3 id="-warning-">⚠️ Warning:</h3>
										<ul>
											<li>Odometer calculations are dependant upon the accuracy of received locations.  If location accuracy is poor, this will necessarily introduce error into odometer calculations.</li>
										</ul>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> success: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>odometer<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>odometer: <span class="tsd-signature-type">number</span></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> failure: <span class="tsd-signature-type">Function</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="getsensors" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> get<wbr>Sensors</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Sensors<span class="tsd-signature-symbol">(</span>success<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span>, failure<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_cordova_background_geolocation_lt_.sensors.html" class="tsd-signature-type">Sensors</a><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Returns the presense of device sensors <em>accelerometer</em>, <em>gyroscope</em>, <em>magnetometer</em></p>
								</div>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-break">break</dt>
									<dd><p>These core <a href="../interfaces/_cordova_background_geolocation_lt_.sensors.html">Sensors</a> are used by the motion activity-recognition system -- when any of these sensors are missing from a device (particularly on cheap
										Android devices), the performance of the motion activity-recognition system will be <strong>severely</strong> degraded and highly inaccurate.</p>
										<p>For devices which <em>are</em> missing any of these sensors, you can increase the motion-detection sensitivity by decreasing
										<a href="../interfaces/_cordova_background_geolocation_lt_.config.html#minimumactivityrecognitionconfidence">minimumActivityRecognitionConfidence</a>.</p>
									</dd>
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript"><span class="hljs-keyword">let</span> sensors = <span class="hljs-keyword">await</span> BackgroundGeolocation.sensors;
<span class="hljs-built_in">console</span>.log(sensors);</code></pre>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> success: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>sensors<span class="tsd-signature-symbol">: </span><a href="../interfaces/_cordova_background_geolocation_lt_.sensors.html" class="tsd-signature-type">Sensors</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>sensors: <a href="../interfaces/_cordova_background_geolocation_lt_.sensors.html" class="tsd-signature-type">Sensors</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> failure: <span class="tsd-signature-type">Function</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_cordova_background_geolocation_lt_.sensors.html" class="tsd-signature-type">Sensors</a><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="getstate" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> get<wbr>State</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">get<wbr>State<span class="tsd-signature-symbol">(</span>success<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span>, failure<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Return the current <a href="../interfaces/_cordova_background_geolocation_lt_.state.html">State</a> of the plugin, including all <a href="../interfaces/_cordova_background_geolocation_lt_.config.html">Config</a> parameters.</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript"><span class="hljs-keyword">let</span> state = <span class="hljs-keyword">await</span> BackgroundGeolocation.state();
<span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[state] '</span>, state.enabled, state.trackingMode);</code></pre>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> success: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>state: <a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> failure: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>error: <span class="tsd-signature-type">string</span></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="insertlocation" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> insert<wbr>Location</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">insert<wbr>Location<span class="tsd-signature-symbol">(</span>params<span class="tsd-signature-symbol">: </span><a href="../interfaces/_cordova_background_geolocation_lt_.location.html" class="tsd-signature-type">Location</a>, success<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span>, failure<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_cordova_background_geolocation_lt_.location.html" class="tsd-signature-type">Location</a><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>params: <a href="../interfaces/_cordova_background_geolocation_lt_.location.html" class="tsd-signature-type">Location</a></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> success: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>location<span class="tsd-signature-symbol">: </span><a href="../interfaces/_cordova_background_geolocation_lt_.location.html" class="tsd-signature-type">Location</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>location: <a href="../interfaces/_cordova_background_geolocation_lt_.location.html" class="tsd-signature-type">Location</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> failure: <span class="tsd-signature-type">Function</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_cordova_background_geolocation_lt_.location.html" class="tsd-signature-type">Location</a><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="ispowersavemode" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> is<wbr>Power<wbr>Save<wbr>Mode</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">is<wbr>Power<wbr>Save<wbr>Mode<span class="tsd-signature-symbol">(</span>success<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span>, failure<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Fetches the state of the operating-system&#39;s &quot;Power Saving&quot; mode.</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-break">break</dt>
									<dd><p>Power Saving mode can throttle certain services in the background, such as HTTP requests or GPS.</p>
										<p> ℹ️ You can listen to changes in the state of &quot;Power Saving&quot; mode from the event <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#onpowersavechange">onPowerSaveChange</a>.</p>
										<h3 id="ios">iOS</h3>
										<p>iOS Power Saving mode can be engaged manually by the user in <strong>Settings -&gt; Battery</strong> or from an automatic OS dialog.</p>
										<p><img src="https://dl.dropboxusercontent.com/s/lz3zl2jg4nzstg3/Screenshot%202017-09-19%2010.34.21.png?dl=1" alt=""></p>
										<h3 id="android">Android</h3>
										<p>Android Power Saving mode can be engaged manually by the user in <strong>Settings -&gt; Battery -&gt; Battery Saver</strong> or automatically with a user-specified
										&quot;threshold&quot; (eg: 15%).</p>
										<p><img src="https://dl.dropboxusercontent.com/s/raz8lagrqayowia/Screenshot%202017-09-19%2010.33.49.png?dl=1" alt=""></p>
									</dd>
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript"><span class="hljs-keyword">let</span> isPowerSaveMode = <span class="hljs-keyword">await</span> BackgroundGeolocation.isPowerSaveMode;</code></pre>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> success: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>enabled<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>enabled: <span class="tsd-signature-type">boolean</span></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> failure: <span class="tsd-signature-type">Function</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="playsound" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> play<wbr>Sound</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">play<wbr>Sound<span class="tsd-signature-symbol">(</span>soundId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, success<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span>, failure<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>soundId: <span class="tsd-signature-type">number</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> success: <span class="tsd-signature-type">Function</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> failure: <span class="tsd-signature-type">Function</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="ready" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> ready</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">ready<span class="tsd-signature-symbol">(</span>config<span class="tsd-signature-symbol">: </span><a href="../interfaces/_cordova_background_geolocation_lt_.config.html" class="tsd-signature-type">Config</a>, success<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span>, failure<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Signal to the plugin that your app is launched and ready, proving the default <a href="../interfaces/_cordova_background_geolocation_lt_.config.html">Config</a>.</p>
								</div>
								<p>The supplied <a href="../interfaces/_cordova_background_geolocation_lt_.config.html">Config</a> will be applied <strong>only at first install</strong> of your app — for every launch thereafter,
									the plugin will automatically load its last-known configuration from persisent storage.
								The plugin always remembers the configuration you apply to it.</p>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript">BackgroundGeolocation.ready({
  <span class="hljs-attr">desiredAccuracy</span>: BackgroundGeolocation.DESIRED_ACCURACY_HIGH,
  <span class="hljs-attr">distanceFilter</span>: <span class="hljs-number">10</span>,
  <span class="hljs-attr">stopOnTerminate</span>: <span class="hljs-literal">false</span>,
  <span class="hljs-attr">startOnBoot</span>: <span class="hljs-literal">true</span>,
  <span class="hljs-attr">url</span>: <span class="hljs-string">'http://your.server.com'</span>,
  <span class="hljs-attr">headers</span>: {
   <span class="hljs-string">'my-auth-token'</span>: <span class="hljs-string">'secret-token'</span>
  }
}).then(<span class="hljs-function">(<span class="hljs-params">state</span>) =&gt;</span> {
 <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[ready] success'</span>, state);
});</code></pre>
										<h3 id="-note-">⚠️ Note:</h3>
										<p>The <strong><code>#ready</code></strong> method only applies the supplied <a href="../interfaces/_cordova_background_geolocation_lt_.config.html">Config</a> for the <strong>first launch of the app</strong> &mdash; forever after, the plugin is going
											to <em>remember</em> <strong>every configuration change</strong> you apply at runtime (eg: <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#setconfig">setConfig</a>) and reload that <em>same config</em> every time your app boots.
											Changes to the <a href="../interfaces/_cordova_background_geolocation_lt_.config.html">Config</a> supplied to <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#ready">ready</a> <em>after</em> first launch will <strong>not take effect</strong>.  During development, it&#39;s helpful to provide
										<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#reset">reset</a> <strong><code>true</code></strong>.</p>
										<h3 id="the-a-href-_cordova_background_geolocation_lt_-backgroundgeolocation-html-reset-reset-a-method-">The <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#reset">reset</a> method.</h3>
										<p>If you wish, you can use the <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#reset">reset</a> method to reset all <a href="../interfaces/_cordova_background_geolocation_lt_.config.html">Config</a> options to documented default-values (with optional overrides):</p>
									</dd>
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript">BackgroundGeolocation.reset();
<span class="hljs-comment">// Reset to documented default-values with overrides</span>
bgGeo.reset({
  <span class="hljs-attr">distanceFilter</span>:  <span class="hljs-number">10</span>
});</code></pre>
										<h3 id="-a-href-_cordova_background_geolocation_lt_-backgroundgeolocation-html-reset-reset-a-true"><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#reset">reset</a>: true</h3>
										<p>Optionally, you can set <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#reset">reset</a> to <strong><code>true</code></strong>  This is helpful during development.  This will esentially <em>force</em> the supplied <a href="../interfaces/_cordova_background_geolocation_lt_.config.html">Config</a> to
										be applied with <em>each launch</em> of your application.</p>
									</dd>
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript">BackgroundGeolocation.ready({
  <span class="hljs-attr">reset</span>: <span class="hljs-literal">true</span>,  <span class="hljs-comment">// &lt;-- set true to ALWAYS apply supplied config; not just at first launch.</span>
  distanceFilter: <span class="hljs-number">50</span>
}).then(<span class="hljs-function">(<span class="hljs-params">state</span>) =&gt;</span> {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[ready]'</span>, state)
});</code></pre>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>config: <a href="../interfaces/_cordova_background_geolocation_lt_.config.html" class="tsd-signature-type">Config</a></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> success: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>state: <a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> failure: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>error: <span class="tsd-signature-type">string</span></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="registerheadlesstask" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> register<wbr>Headless<wbr>Task</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">register<wbr>Headless<wbr>Task<span class="tsd-signature-symbol">(</span>callback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Registers a Javascript callback to execute in the Android &quot;Headless&quot; state, where the app has been terminated configured with
									<a href="../interfaces/_cordova_background_geolocation_lt_.config.html#stoponterminate">stopOnTerminate</a><code>:false</code>.  * The received <code>event</code> object contains a <code>name</code> (the event name) and <code>params</code> (the event data-object).</p>
								</div>
								<h3 id="-note-cordova">⚠️ Note Cordova</h3>
								<ul>
									<li>Javascript headless callbacks are not supported by Cordova.</li>
								</ul>
								<h3 id="-warning-">⚠️ Warning:</h3>
								<ul>
									<li>You <strong>must</strong> <code>registerHeadlessTask</code> in your application root file (eg: <code>index.js</code>).</li>
								</ul>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-typescript"><span class="hljs-keyword">let</span> BackgroundGeolocationHeadlessTask = <span class="hljs-keyword">async</span> (event) =&gt; {
  <span class="hljs-keyword">let</span> params = event.params;
   <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[BackgroundGeolocation HeadlessTask] -'</span>, event.name, params);

   <span class="hljs-keyword">switch</span> (event.name) {
     <span class="hljs-keyword">case</span> <span class="hljs-string">'heartbeat'</span>:
       <span class="hljs-comment">// Use await for async tasks</span>
       <span class="hljs-keyword">let</span> location = <span class="hljs-keyword">await</span> BackgroundGeolocation.getCurrentPosition({
         samples: <span class="hljs-number">1</span>,
         persist: <span class="hljs-literal">false</span>
       });
       <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[BackgroundGeolocation HeadlessTask] - getCurrentPosition:'</span>, location);
       <span class="hljs-keyword">break</span>;
   }
}

BackgroundGeolocation.registerHeadlessTask(BackgroundGeolocationHeadlessTask);</code></pre>
										<h3 id="-see-also-">ℹ️ See also:</h3>
										<ul>
											<li>📘 <a href="https://github.com/transistorsoft/cordova-background-geolocation-lt/wiki/Android-Headless-Mode">Android Headless Mode</a>.</li>
										</ul>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>callback: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Object</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>event: <span class="tsd-signature-type">Object</span></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="removealllisteners" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> remove<wbr>All<wbr>Listeners</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">remove<wbr>All<wbr>Listeners<span class="tsd-signature-symbol">(</span>success<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span>, failure<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Alias for <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#removelisteners">removeListeners</a></p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> success: <span class="tsd-signature-type">Function</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> failure: <span class="tsd-signature-type">Function</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="removegeofence" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> remove<wbr>Geofence</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">remove<wbr>Geofence<span class="tsd-signature-symbol">(</span>identifier<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, success<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span>, failure<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Removes a <a href="../interfaces/_cordova_background_geolocation_lt_.geofence.html">Geofence</a> having the given <a href="../interfaces/_cordova_background_geolocation_lt_.geofence.html#identifier">Geofence.identifier</a>.</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript">BackgroundGeolocation.removeGeofence(<span class="hljs-string">"Home"</span>).then(<span class="hljs-function">(<span class="hljs-params">success</span>) =&gt;</span> {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[removeGeofence] success'</span>);
}).catchError(<span class="hljs-function">(<span class="hljs-params">error</span>) =&gt;</span> {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[removeGeofence] FAILURE: '</span>, error);
});</code></pre>
										<h3 id="-see-also-">ℹ️ See also:</h3>
										<ul>
											<li>📘 <a href="../interfaces/_cordova_background_geolocation_lt_.geofence.html">Geofence</a> Guide.</li>
										</ul>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>identifier: <span class="tsd-signature-type">string</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> success: <span class="tsd-signature-type">Function</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> failure: <span class="tsd-signature-type">Function</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="removegeofences" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> remove<wbr>Geofences</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">remove<wbr>Geofences<span class="tsd-signature-symbol">(</span>success<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span>, failure<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Destroy all <a href="../interfaces/_cordova_background_geolocation_lt_.geofence.html">Geofence</a>.</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-typescript">BackgroundGeolocation.removeGeofences();</code></pre>
										<h3 id="-see-also-">ℹ️ See also:</h3>
										<ul>
											<li>📘 <a href="../interfaces/_cordova_background_geolocation_lt_.geofence.html">Geofence</a> Guide.</li>
										</ul>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> success: <span class="tsd-signature-type">Function</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> failure: <span class="tsd-signature-type">Function</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="removelistener" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> remove<wbr>Listener</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">remove<wbr>Listener<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, handler<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Function</span>, success<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span>, failure<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Removes an event listener.  You must supply the <em>type</em> of event to remove in addition to a reference to the <em>exact</em> function you
									used to subscribe to the event.</p>
								</div>
								<table>
									<thead>
										<tr>
											<th>Event</th>
										</tr>
									</thead>
									<tbody><tr>
											<td><code>location</code></td>
										</tr>
										<tr>
											<td><code>motionchange</code></td>
										</tr>
										<tr>
											<td><code>activitychange</code></td>
										</tr>
										<tr>
											<td><code>providerchange</code></td>
										</tr>
										<tr>
											<td><code>geofence</code></td>
										</tr>
										<tr>
											<td><code>geofenceschange</code></td>
										</tr>
										<tr>
											<td><code>heartbeat</code></td>
										</tr>
										<tr>
											<td><code>http</code></td>
										</tr>
										<tr>
											<td><code>powersavechange</code></td>
										</tr>
										<tr>
											<td><code>schedule</code></td>
										</tr>
										<tr>
											<td><code>connectivitychange</code></td>
										</tr>
										<tr>
											<td><code>enabledchange</code></td>
										</tr>
								</tbody></table>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-typescript"><span class="hljs-keyword">let</span> locationHandler = <span class="hljs-function">(<span class="hljs-params">location</span>) =&gt;</span> {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[location] - '</span>, location)
}
BackgroundGeolocation.onLocation(locationHandler)
.
.
<span class="hljs-comment">// Remove the listener providing a reference to the original callback.</span>
BackgroundGeolocation.removeListener(<span class="hljs-string">'location'</span>, locationHandler)</code></pre>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">string</span></h5>
								</li>
								<li>
									<h5>handler: <span class="tsd-signature-type">Function</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> success: <span class="tsd-signature-type">Function</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> failure: <span class="tsd-signature-type">Function</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="removelisteners" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> remove<wbr>Listeners</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">remove<wbr>Listeners<span class="tsd-signature-symbol">(</span>success<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span>, failure<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Removes all event-listeners</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-typescript">BackgroundGeolocation.removeListeners();</code></pre>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> success: <span class="tsd-signature-type">Function</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> failure: <span class="tsd-signature-type">Function</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="reset" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> reset</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">reset<span class="tsd-signature-symbol">(</span>config<span class="tsd-signature-symbol">?: </span><a href="../interfaces/_cordova_background_geolocation_lt_.config.html" class="tsd-signature-type">Config</a>, success<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span>, failure<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Resets the plugin configuration to documented default-values.</p>
								</div>
								<p>If an optional <a href="../interfaces/_cordova_background_geolocation_lt_.config.html">Config</a> is provided, it will be applied <em>after</em> the configuration reset.</p>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> config: <a href="../interfaces/_cordova_background_geolocation_lt_.config.html" class="tsd-signature-type">Config</a></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> success: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>state: <a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> failure: <span class="tsd-signature-type">Function</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="resetodometer" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> reset<wbr>Odometer</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">reset<wbr>Odometer<span class="tsd-signature-symbol">(</span>success<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span>, failure<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_cordova_background_geolocation_lt_.location.html" class="tsd-signature-type">Location</a><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Initialize the <code>odometer</code> to <code>0</code>.</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript">BackgroundGeolocation.resetOdometer().then(<span class="hljs-function">(<span class="hljs-params">location</span>) =&gt;</span> {
  <span class="hljs-comment">// This is the location where odometer was set at.</span>
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[setOdometer] success: '</span>, location);
});</code></pre>
										<h3 id="-note-">⚠️ Note:</h3>
										<ul>
											<li><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#resetodometer">resetOdometer</a> will internally perform a <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#getcurrentposition">getCurrentPosition</a> in order the record to exact location <em>where</em> odometer was set.</li>
											<li><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#resetodometer">resetOdometer</a> is the same as <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#setodometer">setOdometer</a><code>:0</code>.</li>
										</ul>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> success: <span class="tsd-signature-type">Function</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> failure: <span class="tsd-signature-type">Function</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_cordova_background_geolocation_lt_.location.html" class="tsd-signature-type">Location</a><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="setconfig" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> set<wbr>Config</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Config<span class="tsd-signature-symbol">(</span>config<span class="tsd-signature-symbol">: </span><a href="../interfaces/_cordova_background_geolocation_lt_.config.html" class="tsd-signature-type">Config</a>, success<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span>, failure<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Re-configure the plugin&#39;s <a href="../interfaces/_cordova_background_geolocation_lt_.config.html">Config</a> parameters.  This is the method to use when you wish to <em>change</em>
									the plugin <a href="../interfaces/_cordova_background_geolocation_lt_.config.html">Config</a> <em>after</em> <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#ready">ready</a> has been executed.</p>
								</div>
								<p>The supplied <a href="../interfaces/_cordova_background_geolocation_lt_.config.html">Config</a> will be appended to the current configuration and applied in realtime.</p>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript">BackgroundGeolocation.setConfig({
  <span class="hljs-attr">desiredAccuracy</span>: Config.DESIRED_ACCURACY_HIGH,
  <span class="hljs-attr">distanceFilter</span>: <span class="hljs-number">100.0</span>,
  <span class="hljs-attr">stopOnTerminate</span>: <span class="hljs-literal">false</span>,
  <span class="hljs-attr">startOnBoot</span>: <span class="hljs-literal">true</span>
}).then(<span class="hljs-function">(<span class="hljs-params">state</span>) =&gt;</span> {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[setConfig] success: '</span>, state);
})</code></pre>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>config: <a href="../interfaces/_cordova_background_geolocation_lt_.config.html" class="tsd-signature-type">Config</a></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> success: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>state: <a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> failure: <span class="tsd-signature-type">Function</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="setloglevel" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> set<wbr>Log<wbr>Level</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Log<wbr>Level<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><a href="../modules/_cordova_background_geolocation_lt_.html#loglevel" class="tsd-signature-type">LogLevel</a>, success<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span>, failure<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Sets the <a href="../interfaces/_cordova_background_geolocation_lt_.config.html#loglevel">logLevel</a>.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>value: <a href="../modules/_cordova_background_geolocation_lt_.html#loglevel" class="tsd-signature-type">LogLevel</a></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> success: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>state: <a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> failure: <span class="tsd-signature-type">Function</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="setodometer" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> set<wbr>Odometer</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Odometer<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, success<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span>, failure<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_cordova_background_geolocation_lt_.location.html" class="tsd-signature-type">Location</a><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Initialize the <code>odometer</code> to <em>any</em> arbitrary value.</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript">BackgroundGeolocation.setOdometer(<span class="hljs-number">1234.56</span>).then(<span class="hljs-function">(<span class="hljs-params">location</span>) =&gt;</span> {
  <span class="hljs-comment">// This is the location where odometer was set at.</span>
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[setOdometer] success: '</span>, location);
});</code></pre>
										<h3 id="-note-">⚠️ Note:</h3>
										<ul>
											<li><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#setodometer">setOdometer</a> will internally perform a <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#getcurrentposition">getCurrentPosition</a> in order to record the exact location <em>where</em> odometer was set.</li>
										</ul>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>value: <span class="tsd-signature-type">number</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> success: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>location<span class="tsd-signature-symbol">: </span><a href="../interfaces/_cordova_background_geolocation_lt_.location.html" class="tsd-signature-type">Location</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>location: <a href="../interfaces/_cordova_background_geolocation_lt_.location.html" class="tsd-signature-type">Location</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> failure: <span class="tsd-signature-type">Function</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_cordova_background_geolocation_lt_.location.html" class="tsd-signature-type">Location</a><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="start" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> start</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">start<span class="tsd-signature-symbol">(</span>success<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span>, error<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Enable location + geofence tracking.</p>
								</div>
								<p>This is the plugin&#39;s power <strong>ON</strong> button.  The plugin will initially start into its <strong>stationary</strong> state, fetching an initial location before
									turning off location services.  Android will be monitoring its <strong>Activity Recognition System</strong> while iOS will create a stationary geofence around
								the current location.</p>
								<h3 id="-note-">⚠️ Note:</h3>
								<p>If you&#39;ve configured a <a href="../interfaces/_cordova_background_geolocation_lt_.config.html#schedule">schedule</a>, this method will override that schedule and engage tracking immediately.</p>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript">BackgroundGeolocation.start().then(<span class="hljs-function">(<span class="hljs-params">state</span>) =&gt;</span> {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[start] success - '</span>, state);
});</code></pre>
										<h3 id="-see-also-">ℹ️ See also:</h3>
										<ul>
											<li><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#stop">stop</a></li>
											<li><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#startgeofences">startGeofences</a></li>
											<li>📘 <a href="https://github.com/transistorsoft/cordova-background-geolocation-lt/wiki/Philosophy-of-Operation">Philosophy of Operation</a></li>
										</ul>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> success: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>state: <a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> error: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>error: <span class="tsd-signature-type">string</span></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="startbackgroundtask" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> start<wbr>Background<wbr>Task</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">start<wbr>Background<wbr>Task<span class="tsd-signature-symbol">(</span>success<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span>, failure<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Sends a signal to iOS that you wish to perform a long-running task.</p>
								</div>
								<p>iOS will not suspend your app until you signal completion with the <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#finish">finish</a> method.  Your callback will be provided with a single parameter <code>taskId</code>
								which you will send to the <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#finish">finish</a> method.</p>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript">BackgroundGeolocation.startBackgroundTask().then(<span class="hljs-function">(<span class="hljs-params">taskId</span>) =&gt;</span> {
  <span class="hljs-comment">// Perform some long-running task (eg: HTTP request)</span>
  performLongRunningTask.then(<span class="hljs-function"><span class="hljs-params">()</span> =&gt;</span> {
    <span class="hljs-comment">// When your long-running task is complete, signal completion of taskId.</span>
    BackgroundGeolocation.finish(taskId);
  });
});</code></pre>
										<p>⚠️ iOS provides <strong>exactly</strong> 180s of background-running time.  If your long-running task exceeds this time, the plugin has a fail-safe which will
										automatically <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#finish">finish</a> your <strong><code>taskId</code></strong> to prevent the OS from force-killing your application.</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> success: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>taskId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>taskId: <span class="tsd-signature-type">number</span></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> failure: <span class="tsd-signature-type">Function</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="startgeofences" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> start<wbr>Geofences</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">start<wbr>Geofences<span class="tsd-signature-symbol">(</span>success<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span>, failure<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Engages the geofences-only <a href="../interfaces/_cordova_background_geolocation_lt_.state.html#trackingmode">State.trackingMode</a>.</p>
								</div>
								<p>In this mode, no active location-tracking will occur &mdash; only geofences will be monitored.  To stop monitoring &quot;geofences&quot; <a href="../modules/_cordova_background_geolocation_lt_.html#trackingmode">TrackingMode</a>,
								simply use the usual <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#stop">stop</a> method.</p>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript"><span class="hljs-comment">// Add a geofence.</span>
BackgroundGeolocation.addGeofence({
  <span class="hljs-attr">notifyOnExit</span>: <span class="hljs-literal">true</span>,
  <span class="hljs-attr">radius</span>: <span class="hljs-number">200</span>,
  <span class="hljs-attr">identifier</span>: <span class="hljs-string">'ZONE_OF_INTEREST'</span>,
  <span class="hljs-attr">latitude</span>: <span class="hljs-number">37.234232</span>,
  <span class="hljs-attr">longitude</span>: <span class="hljs-number">42.234234</span>
});

<span class="hljs-comment">// Listen to geofence events.</span>
BackgroundGeolocation.onGeofence(<span class="hljs-function">(<span class="hljs-params">event</span>) =&gt;</span> {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[onGeofence] -  '</span>, event);
});

<span class="hljs-comment">// Configure the plugin</span>
BackgroundGeolocation.ready({
  <span class="hljs-attr">url</span>: <span class="hljs-string">'http://my.server.com'</span>,
  <span class="hljs-attr">autoSync</span>: <span class="hljs-literal">true</span>
}).then(<span class="hljs-function">(<span class="hljs-params">(state</span>) =&gt;</span> {
  <span class="hljs-comment">// Start monitoring geofences.</span>
  BackgroundGeolocation.startGeofences();
});</code></pre>
										<h3 id="-see-also-">ℹ️ See also:</h3>
										<ul>
											<li><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#stop">stop</a></li>
											<li>📘 <a href="../interfaces/_cordova_background_geolocation_lt_.geofence.html">Geofence</a> Guide.</li>
										</ul>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> success: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>state: <a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> failure: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>error: <span class="tsd-signature-type">string</span></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="startschedule" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> start<wbr>Schedule</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">start<wbr>Schedule<span class="tsd-signature-symbol">(</span>success<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span>, failure<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Initiate the configured <a href="../interfaces/_cordova_background_geolocation_lt_.config.html#schedule">schedule</a>.</p>
								</div>
								<p>If a <a href="../interfaces/_cordova_background_geolocation_lt_.config.html#schedule">schedule</a> was configured, this method will initiate that schedule.  The plugin will automatically be started or stopped according to
								the configured <a href="../interfaces/_cordova_background_geolocation_lt_.config.html#schedule">schedule</a>.</p>
								<p>To halt scheduled tracking, use <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#stopschedule">stopSchedule</a>.</p>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript">BackgroundGeolocation.startSchedule.then(<span class="hljs-function">(<span class="hljs-params">state</span>) =&gt;</span> {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[startSchedule] success: '</span>, state);
})</code></pre>
										<h3 id="-see-also-">ℹ️ See also:</h3>
										<ul>
											<li><a href="../interfaces/_cordova_background_geolocation_lt_.config.html#schedule">schedule</a></li>
											<li><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#startschedule">startSchedule</a></li>
										</ul>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> success: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>state: <a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> failure: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>error: <span class="tsd-signature-type">string</span></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="stop" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> stop</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">stop<span class="tsd-signature-symbol">(</span>success<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span>, error<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Disable location and geofence monitoring.  This is the SDK&#39;s power <strong>OFF</strong> button.</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript">BackgroundGeolocation.stop();</code></pre>
										<h3 id="-note-">⚠️ Note:</h3>
										<p>If you&#39;ve configured a <a href="../interfaces/_cordova_background_geolocation_lt_.config.html#schedule">schedule</a>, <strong><code>#stop</code></strong> will <strong>not</strong> halt the Scheduler.  You must explicitly <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#stopschedule">stopSchedule</a> as well:</p>
									</dd>
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript"><span class="hljs-comment">// Later when you want to stop the Scheduler (eg: user logout)</span>
BackgroundGeolocation.stopSchedule();</code></pre>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> success: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>state: <a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> error: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>error: <span class="tsd-signature-type">string</span></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="stopschedule" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> stop<wbr>Schedule</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">stop<wbr>Schedule<span class="tsd-signature-symbol">(</span>success<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span>, failure<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Halt scheduled tracking.</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript">BackgroundGeolocation.stopSchedule.then(<span class="hljs-function">(<span class="hljs-params">state</span>) =&gt;</span> {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[stopSchedule] success: '</span>, state);
})</code></pre>
										<p>⚠️ <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#stopschedule">stopSchedule</a> will <strong>not</strong> execute <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#stop">stop</a> if the plugin is currently tracking.  You must explicitly execute <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#stop">stop</a>.</p>
									</dd>
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript"><span class="hljs-comment">// Later when you want to stop the Scheduler (eg: user logout)</span>
<span class="hljs-keyword">await</span> BackgroundGeolocation.stopSchedule().then(<span class="hljs-function">(<span class="hljs-params">state</span>) =&gt;</span> {
  <span class="hljs-keyword">if</span> (state.enabled) {
    BackgroundGeolocation.stop();
  }
})</code></pre>
										<h3 id="-see-also-">ℹ️ See also:</h3>
										<ul>
											<li><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#startschedule">startSchedule</a></li>
										</ul>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> success: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>state: <a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> failure: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>error: <span class="tsd-signature-type">string</span></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="stopwatchposition" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> stop<wbr>Watch<wbr>Position</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">stop<wbr>Watch<wbr>Position<span class="tsd-signature-symbol">(</span>success<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span>, failure<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Stop watch-position updates initiated from <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#watchposition">watchPosition</a>.</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-typescript">onResume() {
  <span class="hljs-comment">// Start watching position while app in foreground.</span>
  BackgroundGeolocation.watchPosition(<span class="hljs-function">(<span class="hljs-params">location</span>) =&gt;</span> {
    <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[watchPosition] -'</span>, location);
  }, <span class="hljs-function">(<span class="hljs-params">errorCode</span>) =&gt;</span> {
    <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[watchPosition] ERROR -'</span>, errorCode);
  }, {
   interval: <span class="hljs-number">1000</span>
  })
}

onSuspend() {
  <span class="hljs-comment">// Halt watching position when app goes to background.</span>
  BackgroundGeolocation.stopWatchPosition();
}</code></pre>
										<h3 id="-see-also-">ℹ️ See also:</h3>
										<ul>
											<li><a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#stopwatchposition">stopWatchPosition</a></li>
										</ul>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> success: <span class="tsd-signature-type">Function</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> failure: <span class="tsd-signature-type">Function</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="sync" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> sync</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">sync<span class="tsd-signature-symbol">(</span>success<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span>, failure<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Array</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Object</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Manually execute upload to configured <a href="../interfaces/_cordova_background_geolocation_lt_.config.html#url">url</a></p>
								</div>
								<p>If the plugin is configured for HTTP with an <a href="../interfaces/_cordova_background_geolocation_lt_.config.html#url">url</a> and <a href="../interfaces/_cordova_background_geolocation_lt_.config.html#autosync">autoSync</a> <code>false</code>, the <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#sync">sync</a> method will initiate POSTing the locations
									currently stored in the native SQLite database to your configured <a href="../interfaces/_cordova_background_geolocation_lt_.config.html#url">url</a>.  When your HTTP server returns a response of <code>200 OK</code>, that record(s)
								in the database will be DELETED.</p>
								<p>If you configured <a href="../interfaces/_cordova_background_geolocation_lt_.config.html#batchsync">batchSync</a> <code>true</code>, all the locations will be sent to your server in a single HTTP POST request, otherwise the plugin will
									execute an HTTP post for <strong>each</strong> <a href="../interfaces/_cordova_background_geolocation_lt_.location.html">Location</a> in the database (REST-style).  Your callback will be executed and provided with a <code>List</code> of all the
									locations from the SQLite database.  If you configured the plugin for HTTP (by configuring a <a href="../interfaces/_cordova_background_geolocation_lt_.config.html#url">url</a>, your callback will be executed after all
									the HTTP request(s) have completed.  If the plugin failed to sync to your server (possibly because of no network connection), the failure callback will
								be called with an error message.  If you are <strong>not</strong> using the HTTP features, <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#sync">sync</a> will delete all records from its SQLite datbase.</p>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-javascript">BackgroundGeolocation.sync(<span class="hljs-function">(<span class="hljs-params">records</span>) =&gt;</span> {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[sync] success: '</span>, records);
}).catchError(<span class="hljs-function">(<span class="hljs-params">error</span>) =&gt;</span> {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[sync] FAILURE: '</span>, error);
});
</code></pre>
										<p> ℹ️ For more information, see the <strong>HTTP Guide</strong> at <a href="../interfaces/_cordova_background_geolocation_lt_.httpevent.html">HttpEvent</a>.</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> success: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>locations<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Array</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Object</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>locations: <span class="tsd-signature-type">Array</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Object</span><span class="tsd-signature-symbol">&gt;</span></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> failure: <span class="tsd-signature-type">Function</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Array</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Object</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="transistortrackerparams" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> transistor<wbr>Tracker<wbr>Params</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">transistor<wbr>Tracker<wbr>Params<span class="tsd-signature-symbol">(</span>device<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Object</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Object</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Convenience method to compose a <a href="../interfaces/_cordova_background_geolocation_lt_.config.html#params">params</a> Object suitable for posting to the <strong>Transistor Software Test Server</strong> at <a href="http://tracker.transistorsoft.com">http://tracker.transistorsoft.com</a>.  You must provide a reference to <strong><code>Device</code></strong> instance.</p>
								</div>
								<h4 id="cordova">Cordova</h4>
								<ul>
									<li>Provide an instance of <code>cordova-plugin-device</code> (Ionic: <code>@ionic-native/device</code>).</li>
								</ul>
								<h4 id="react-native">React Native</h4>
								<ul>
									<li>Provide an instance of <code>react-native-device-info</code></li>
								</ul>
								<p>The test server is a great way to debug location problems, since the results can easily be shared with <em>Transistor Software</em> when requesting support.</p>
								<p><img src="https://dl.dropboxusercontent.com/s/3abuyyhioyypk8c/screenshot-tracker-transistorsoft.png?dl=1" alt=""></p>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-typescript">BackgroundGeolocation.ready({
  url: <span class="hljs-string">'http://tracker.transistorsoft.com/locations/my-username'</span>,
  params: BackgroundGeolocation.transistorTrackerParams(device)
})</code></pre>
										<h3 id="-note-">⚠️ Note:</h3>
										<ul>
											<li>To <em>view</em> your tracking results in the browser, the url is just <strong><code>/YOUR-USERNAME</code></strong> &mdash; not <code>/locations/YOUR-USERNAME</code></li>
										</ul>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>device: <span class="tsd-signature-type">Object</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Object</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="watchposition" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> watch<wbr>Position</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">watch<wbr>Position<span class="tsd-signature-symbol">(</span>success<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">function</span>, failure<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span>, options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/_cordova_background_geolocation_lt_.watchpositionrequest.html" class="tsd-signature-type">WatchPositionRequest</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Start a stream of continuous location-updates.  The native code will persist the fetched location to its SQLite database
									just as any other location (If the SDK is currently <a href="../interfaces/_cordova_background_geolocation_lt_.providerchangeevent.html#enabled">enabled</a>) in addition to POSTing to your configured <a href="../interfaces/_cordova_background_geolocation_lt_.config.html#url">url</a> (if you&#39;ve enabled the HTTP features).</p>
								</div>
								<h3 id="-warning-">⚠️ Warning:</h3>
								<p><code>watchPosition</code> is <strong>not</strong> reccommended for <strong>long term</strong> monitoring in the background &mdash; It&#39;s primarily designed for use in the foreground <strong>only</strong>.  You might use it for fast-updates of the user&#39;s current position on the map, for example.
								The SDK&#39;s primary <a href="https://github.com/transistorsoft/cordova-background-geolocation-lt/wiki/Philosophy-of-Operation">Philosophy of Operation</a> <strong>does not require</strong> <code>watchPosition</code>.</p>
								<h4 id="ios">iOS</h4>
								<p><code>watchPosition</code> will continue to run in the background, preventing iOS from suspending your application.  Take care to listen to <code>suspend</code> event and call <a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#stopwatchposition">stopWatchPosition</a> if you don&#39;t want your app to keep running in the background, consuming battery.</p>
								<dl class="tsd-comment-tags">
									<dt class="tsd-comment-tag-example">example</dt>
									<dd><pre><code class="language-typescript">onResume() {
  <span class="hljs-comment">// Start watching position while app in foreground.</span>
  BackgroundGeolocation.watchPosition(<span class="hljs-function">(<span class="hljs-params">location</span>) =&gt;</span> {
    <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[watchPosition] -'</span>, location);
  }, <span class="hljs-function">(<span class="hljs-params">errorCode</span>) =&gt;</span> {
    <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[watchPosition] ERROR -'</span>, errorCode);
  }, {
    interval: <span class="hljs-number">1000</span>
  })
}

onSuspend() {
  <span class="hljs-comment">// Halt watching position when app goes to background.</span>
  BackgroundGeolocation.stopWatchPosition();
}</code></pre>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>success: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>location<span class="tsd-signature-symbol">: </span><a href="../interfaces/_cordova_background_geolocation_lt_.location.html" class="tsd-signature-type">Location</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>location: <a href="../interfaces/_cordova_background_geolocation_lt_.location.html" class="tsd-signature-type">Location</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> failure: <span class="tsd-signature-type">function</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>errorCode<span class="tsd-signature-symbol">: </span><a href="../modules/_cordova_background_geolocation_lt_.html#locationerror" class="tsd-signature-type">LocationError</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>errorCode: <a href="../modules/_cordova_background_geolocation_lt_.html#locationerror" class="tsd-signature-type">LocationError</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <a href="../interfaces/_cordova_background_geolocation_lt_.watchpositionrequest.html" class="tsd-signature-type">WatchPositionRequest</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
			</section>
		</div>
		<div class="col-3 col-menu menu-sticky-wrap menu-highlight">
			<nav class="tsd-navigation primary menu-sticky">
				<ul class="before-current">
				</ul>
				<ul class="current">
					<li class="current tsd-kind-class tsd-parent-kind-module">
						<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html" class="tsd-kind-icon">Background<wbr>Geolocation</a>
						<ul>
							<li class=" tsd-kind-event tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#onactivitychange" class="tsd-kind-icon">on<wbr>Activity<wbr>Change</a>
							</li>
							<li class=" tsd-kind-event tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#onconnectivitychange" class="tsd-kind-icon">on<wbr>Connectivity<wbr>Change</a>
							</li>
							<li class=" tsd-kind-event tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#onenabledchange" class="tsd-kind-icon">on<wbr>Enabled<wbr>Change</a>
							</li>
							<li class=" tsd-kind-event tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#ongeofence" class="tsd-kind-icon">on<wbr>Geofence</a>
							</li>
							<li class=" tsd-kind-event tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#ongeofenceschange" class="tsd-kind-icon">on<wbr>Geofences<wbr>Change</a>
							</li>
							<li class=" tsd-kind-event tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#onheartbeat" class="tsd-kind-icon">on<wbr>Heartbeat</a>
							</li>
							<li class=" tsd-kind-event tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#onhttp" class="tsd-kind-icon">on<wbr>Http</a>
							</li>
							<li class=" tsd-kind-event tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#onlocation" class="tsd-kind-icon">on<wbr>Location</a>
							</li>
							<li class=" tsd-kind-event tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#onmotionchange" class="tsd-kind-icon">on<wbr>Motion<wbr>Change</a>
							</li>
							<li class=" tsd-kind-event tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#onpowersavechange" class="tsd-kind-icon">on<wbr>Power<wbr>Save<wbr>Change</a>
							</li>
							<li class=" tsd-kind-event tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#onproviderchange" class="tsd-kind-icon">on<wbr>Provider<wbr>Change</a>
							</li>
							<li class=" tsd-kind-event tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#onschedule" class="tsd-kind-icon">on<wbr>Schedule</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#activity_type_automotive_navigation" class="tsd-kind-icon">ACTIVITY_<wbr>TYPE_<wbr>AUTOMOTIVE_<wbr>NAVIGATION</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#activity_type_fitness" class="tsd-kind-icon">ACTIVITY_<wbr>TYPE_<wbr>FITNESS</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#activity_type_other" class="tsd-kind-icon">ACTIVITY_<wbr>TYPE_<wbr>OTHER</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#activity_type_other_navigation" class="tsd-kind-icon">ACTIVITY_<wbr>TYPE_<wbr>OTHER_<wbr>NAVIGATION</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#authorization_status_always" class="tsd-kind-icon">AUTHORIZATION_<wbr>STATUS_<wbr>ALWAYS</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#authorization_status_denied" class="tsd-kind-icon">AUTHORIZATION_<wbr>STATUS_<wbr>DENIED</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#authorization_status_not_determined" class="tsd-kind-icon">AUTHORIZATION_<wbr>STATUS_<wbr>NOT_<wbr>DETERMINED</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#authorization_status_restricted" class="tsd-kind-icon">AUTHORIZATION_<wbr>STATUS_<wbr>RESTRICTED</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#authorization_status_when_in_use" class="tsd-kind-icon">AUTHORIZATION_<wbr>STATUS_<wbr>WHEN_<wbr>IN_<wbr>USE</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#desired_accuracy_high" class="tsd-kind-icon">DESIRED_<wbr>ACCURACY_<wbr>HIGH</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#desired_accuracy_low" class="tsd-kind-icon">DESIRED_<wbr>ACCURACY_<wbr>LOW</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#desired_accuracy_lowest" class="tsd-kind-icon">DESIRED_<wbr>ACCURACY_<wbr>LOWEST</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#desired_accuracy_medium" class="tsd-kind-icon">DESIRED_<wbr>ACCURACY_<wbr>MEDIUM</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#desired_accuracy_navigation" class="tsd-kind-icon">DESIRED_<wbr>ACCURACY_<wbr>NAVIGATION</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#desired_accuracy_very_low" class="tsd-kind-icon">DESIRED_<wbr>ACCURACY_<wbr>VERY_<wbr>LOW</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#log_level_debug" class="tsd-kind-icon">LOG_<wbr>LEVEL_<wbr>DEBUG</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#log_level_error" class="tsd-kind-icon">LOG_<wbr>LEVEL_<wbr>ERROR</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#log_level_info" class="tsd-kind-icon">LOG_<wbr>LEVEL_<wbr>INFO</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#log_level_off" class="tsd-kind-icon">LOG_<wbr>LEVEL_<wbr>OFF</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#log_level_verbose" class="tsd-kind-icon">LOG_<wbr>LEVEL_<wbr>VERBOSE</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#log_level_warning" class="tsd-kind-icon">LOG_<wbr>LEVEL_<wbr>WARNING</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#notification_priority_default" class="tsd-kind-icon">NOTIFICATION_<wbr>PRIORITY_<wbr>DEFAULT</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#notification_priority_high" class="tsd-kind-icon">NOTIFICATION_<wbr>PRIORITY_<wbr>HIGH</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#notification_priority_low" class="tsd-kind-icon">NOTIFICATION_<wbr>PRIORITY_<wbr>LOW</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#notification_priority_max" class="tsd-kind-icon">NOTIFICATION_<wbr>PRIORITY_<wbr>MAX</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#notification_priority_min" class="tsd-kind-icon">NOTIFICATION_<wbr>PRIORITY_<wbr>MIN</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#logger" class="tsd-kind-icon">logger</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#addgeofence" class="tsd-kind-icon">add<wbr>Geofence</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#addgeofences" class="tsd-kind-icon">add<wbr>Geofences</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#changepace" class="tsd-kind-icon">change<wbr>Pace</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#destroylocations" class="tsd-kind-icon">destroy<wbr>Locations</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#destroylog" class="tsd-kind-icon">destroy<wbr>Log</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#emaillog" class="tsd-kind-icon">email<wbr>Log</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#finish" class="tsd-kind-icon">finish</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#getcount" class="tsd-kind-icon">get<wbr>Count</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#getcurrentposition" class="tsd-kind-icon">get<wbr>Current<wbr>Position</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#getgeofences" class="tsd-kind-icon">get<wbr>Geofences</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#getlocations" class="tsd-kind-icon">get<wbr>Locations</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#getlog" class="tsd-kind-icon">get<wbr>Log</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#getodometer" class="tsd-kind-icon">get<wbr>Odometer</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#getsensors" class="tsd-kind-icon">get<wbr>Sensors</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#getstate" class="tsd-kind-icon">get<wbr>State</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#insertlocation" class="tsd-kind-icon">insert<wbr>Location</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#ispowersavemode" class="tsd-kind-icon">is<wbr>Power<wbr>Save<wbr>Mode</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#playsound" class="tsd-kind-icon">play<wbr>Sound</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#ready" class="tsd-kind-icon">ready</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#registerheadlesstask" class="tsd-kind-icon">register<wbr>Headless<wbr>Task</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#removealllisteners" class="tsd-kind-icon">remove<wbr>All<wbr>Listeners</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#removegeofence" class="tsd-kind-icon">remove<wbr>Geofence</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#removegeofences" class="tsd-kind-icon">remove<wbr>Geofences</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#removelistener" class="tsd-kind-icon">remove<wbr>Listener</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#removelisteners" class="tsd-kind-icon">remove<wbr>Listeners</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#reset" class="tsd-kind-icon">reset</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#resetodometer" class="tsd-kind-icon">reset<wbr>Odometer</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#setconfig" class="tsd-kind-icon">set<wbr>Config</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#setloglevel" class="tsd-kind-icon">set<wbr>Log<wbr>Level</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#setodometer" class="tsd-kind-icon">set<wbr>Odometer</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#start" class="tsd-kind-icon">start</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#startbackgroundtask" class="tsd-kind-icon">start<wbr>Background<wbr>Task</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#startgeofences" class="tsd-kind-icon">start<wbr>Geofences</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#startschedule" class="tsd-kind-icon">start<wbr>Schedule</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#stop" class="tsd-kind-icon">stop</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#stopschedule" class="tsd-kind-icon">stop<wbr>Schedule</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#stopwatchposition" class="tsd-kind-icon">stop<wbr>Watch<wbr>Position</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#sync" class="tsd-kind-icon">sync</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#transistortrackerparams" class="tsd-kind-icon">transistor<wbr>Tracker<wbr>Params</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_cordova_background_geolocation_lt_.backgroundgeolocation.html#watchposition" class="tsd-kind-icon">watch<wbr>Position</a>
							</li>
						</ul>
					</li>
				</ul>
				<ul class="after-current">
					<li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
						<a href="../interfaces/_cordova_background_geolocation_lt_.battery.html" class="tsd-kind-icon">Battery</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
						<a href="../interfaces/_cordova_background_geolocation_lt_.config.html" class="tsd-kind-icon">Config</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
						<a href="../interfaces/_cordova_background_geolocation_lt_.connectivitychangeevent.html" class="tsd-kind-icon">Connectivity<wbr>Change<wbr>Event</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
						<a href="../interfaces/_cordova_background_geolocation_lt_.coords.html" class="tsd-kind-icon">Coords</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
						<a href="../interfaces/_cordova_background_geolocation_lt_.currentpositionrequest.html" class="tsd-kind-icon">Current<wbr>Position<wbr>Request</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
						<a href="../interfaces/_cordova_background_geolocation_lt_.geofence.html" class="tsd-kind-icon">Geofence</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
						<a href="../interfaces/_cordova_background_geolocation_lt_.geofenceevent.html" class="tsd-kind-icon">Geofence<wbr>Event</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
						<a href="../interfaces/_cordova_background_geolocation_lt_.geofenceschangeevent.html" class="tsd-kind-icon">Geofences<wbr>Change<wbr>Event</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
						<a href="../interfaces/_cordova_background_geolocation_lt_.heartbeatevent.html" class="tsd-kind-icon">Heartbeat<wbr>Event</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
						<a href="../interfaces/_cordova_background_geolocation_lt_.httpevent.html" class="tsd-kind-icon">Http<wbr>Event</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module">
						<a href="../interfaces/_cordova_background_geolocation_lt_.location.html" class="tsd-kind-icon">Location</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
						<a href="../interfaces/_cordova_background_geolocation_lt_.locationauthorizationalert.html" class="tsd-kind-icon">Location<wbr>Authorization<wbr>Alert</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
						<a href="../interfaces/_cordova_background_geolocation_lt_.logger.html" class="tsd-kind-icon">Logger</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
						<a href="../interfaces/_cordova_background_geolocation_lt_.motionactivityevent.html" class="tsd-kind-icon">Motion<wbr>Activity<wbr>Event</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
						<a href="../interfaces/_cordova_background_geolocation_lt_.motionchangeevent.html" class="tsd-kind-icon">Motion<wbr>Change<wbr>Event</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
						<a href="../interfaces/_cordova_background_geolocation_lt_.providerchangeevent.html" class="tsd-kind-icon">Provider<wbr>Change<wbr>Event</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
						<a href="../interfaces/_cordova_background_geolocation_lt_.sensors.html" class="tsd-kind-icon">Sensors</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
						<a href="../interfaces/_cordova_background_geolocation_lt_.state.html" class="tsd-kind-icon">State</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
						<a href="../interfaces/_cordova_background_geolocation_lt_.watchpositionrequest.html" class="tsd-kind-icon">Watch<wbr>Position<wbr>Request</a>
					</li>
					<li class=" tsd-kind-type-alias tsd-parent-kind-module tsd-is-not-exported">
						<a href="../modules/_cordova_background_geolocation_lt_.html#activitytype" class="tsd-kind-icon">Activity<wbr>Type</a>
					</li>
					<li class=" tsd-kind-type-alias tsd-parent-kind-module tsd-is-not-exported">
						<a href="../modules/_cordova_background_geolocation_lt_.html#authorizationstatus" class="tsd-kind-icon">Authorization<wbr>Status</a>
					</li>
					<li class=" tsd-kind-type-alias tsd-parent-kind-module tsd-is-not-exported">
						<a href="../modules/_cordova_background_geolocation_lt_.html#httpmethod" class="tsd-kind-icon">Http<wbr>Method</a>
					</li>
					<li class=" tsd-kind-type-alias tsd-parent-kind-module tsd-is-not-exported">
						<a href="../modules/_cordova_background_geolocation_lt_.html#locationaccuracy" class="tsd-kind-icon">Location<wbr>Accuracy</a>
					</li>
					<li class=" tsd-kind-type-alias tsd-parent-kind-module tsd-is-not-exported">
						<a href="../modules/_cordova_background_geolocation_lt_.html#locationauthorizationrequest" class="tsd-kind-icon">Location<wbr>Authorization<wbr>Request</a>
					</li>
					<li class=" tsd-kind-type-alias tsd-parent-kind-module tsd-is-not-exported">
						<a href="../modules/_cordova_background_geolocation_lt_.html#locationerror" class="tsd-kind-icon">Location<wbr>Error</a>
					</li>
					<li class=" tsd-kind-type-alias tsd-parent-kind-module tsd-is-not-exported">
						<a href="../modules/_cordova_background_geolocation_lt_.html#loglevel" class="tsd-kind-icon">Log<wbr>Level</a>
					</li>
					<li class=" tsd-kind-type-alias tsd-parent-kind-module tsd-is-not-exported">
						<a href="../modules/_cordova_background_geolocation_lt_.html#notificationpriority" class="tsd-kind-icon">Notification<wbr>Priority</a>
					</li>
					<li class=" tsd-kind-type-alias tsd-parent-kind-module tsd-is-not-exported">
						<a href="../modules/_cordova_background_geolocation_lt_.html#trackingmode" class="tsd-kind-icon">Tracking<wbr>Mode</a>
					</li>
				</ul>
			</nav>
		</div>
	</div>
</div>
<footer class="with-border-bottom">
	<div class="container">
		<h2>Legend</h2>
		<div class="tsd-legend-group">
			<ul class="tsd-legend">
				<li class="tsd-kind-module"><span class="tsd-kind-icon">Module</span></li>
				<li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
				<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
				<li class="tsd-kind-index-signature"><span class="tsd-kind-icon">Index signature</span></li>
				<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
				<li class="tsd-kind-type-alias tsd-has-type-parameter"><span class="tsd-kind-icon">Type alias with type parameter</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
				<li class="tsd-kind-enum-member"><span class="tsd-kind-icon">Enumeration member</span></li>
				<li class="tsd-kind-property tsd-parent-kind-enum"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-enum"><span class="tsd-kind-icon">Method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
				<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
				<li class="tsd-kind-constructor tsd-parent-kind-interface"><span class="tsd-kind-icon">Constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
				<li class="tsd-kind-index-signature tsd-parent-kind-interface"><span class="tsd-kind-icon">Index signature</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
				<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li>
				<li class="tsd-kind-index-signature tsd-parent-kind-class"><span class="tsd-kind-icon">Index signature</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
				<li class="tsd-kind-call-signature tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
			</ul>
		</div>
	</div>
</footer>
<div class="container tsd-generator">
	<p>Generated using <a href="http://typedoc.org/" target="_blank">TypeDoc</a></p>
</div>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
<script>if (location.protocol == 'file:') document.write('<script src="../assets/js/search.js"><' + '/script>');</script>
<script>
        (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
            (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
                m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
        })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

        ga('create', 'UA-102968-14', 'auto');
        ga('send', 'pageview');
    </script>
</body>
</html>